Skip to content

Add support for global environment variables that apply across all agents #372

@kvokka

Description

@kvokka

When the user sets the env vars in Settings -> General -> Shell Configuration, these vars are not forwarded to the Agent. To make them working it's required to forward them to each agent. It kill the automation.
The issue was not tested against other tools.

For my setup, these settings are essential

Using version 0.15-RC

Screenshot:

Image

issue log example (related to mycase):

{
  "type": "error",
  "timestamp": 1771127449724,
  "sessionID": "ses_123***",
  "error": {
    "name": "APIError",
    "data": {
      "message": "x-api-key header is required",
      "statusCode": 401,
      "isRetryable": false,
      "responseHeaders": {
        "cf-cache-status": "DYNAMIC",
        "cf-ray": "***",
        "connection": "keep-alive",
        "content-length": "141",
        "content-security-policy": "default-src 'none'; frame-ancestors 'none'",
        "content-type": "application/json",
        "date": "Sun, 15 Feb 2026 03:40:49 GMT",
        "request-id": "req_011***",
        "server": "cloudflare",
        "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
        "x-envoy-upstream-service-time": "8",
        "x-robots-tag": "none",
        "x-should-retry": "false"
      },
      "responseBody": "{\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"x...",
      "metadata": {
        "url": "https://api.anthropic.com/v1/messages"
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions