# Copy to .env.agent.local and keep the real file private. # Agent CLI scripts automatically read this file from the current repo root. # Shell environment variables still take precedence. # Set GPT_IMAGE_AGENT_LOAD_ENV_FILE=0 to disable automatic loading. # Use the deployment you intend to test. For Space or other public services, # set the remote URL explicitly so subagents do not fall back to localhost. GPT_IMAGE_PLAYGROUND_URL=http://localhost:4783 # Agent JSON, Agent edit, job, artifact and diagnostics endpoints use this # when the service is configured with AGENT_API_TOKEN. GPT_IMAGE_AGENT_TOKEN= # Page SSE uses the page access-code hash as a form field named passwordHash. # This is required for --page-sse, large generate defaults, Responses backend # edit, and page-SSE batch tasks when the deployment has APP_PASSWORD enabled. # GPT_IMAGE_AGENT_TOKEN alone does not satisfy page SSE form auth. GPT_IMAGE_APP_PASSWORD_HASH= # Agent share access code for private share links created by generate-image.mjs --share. GPT_IMAGE_SHARE_ACCESS_CODE=