# Copy this file to e2e/.env.local for local runs. # Do not commit e2e/.env.local. E2E_BASE_URL=http://127.0.0.1:3000 E2E_API_URL=http://127.0.0.1:5001 E2E_STABLE_MODEL_PROVIDER=openai E2E_STABLE_MODEL_NAME=gpt-5-nano E2E_STABLE_MODEL_TYPE=llm E2E_AGENT_DECISION_MODEL_PROVIDER=openai E2E_AGENT_DECISION_MODEL_NAME=gpt-5.5 E2E_AGENT_DECISION_MODEL_TYPE=llm E2E_SPEECH_TO_TEXT_MODEL_PROVIDER=openai E2E_SPEECH_TO_TEXT_MODEL_NAME=gpt-4o-mini-transcribe E2E_MODEL_PROVIDER_CREDENTIALS_JSON='{"openai_api_key":"replace-with-real-key"}' # Optional: external runtime CI/local profile. Defaults prepare Agent V2 runtime # seed resources and then runs every @external-model/@external-tool scenario. # E2E_EXTERNAL_RUNTIME_SEED_SPECS=agent-v2:external-runtime # E2E_EXTERNAL_RUNTIME_TAGS=(@external-model or @external-tool) and not @feature-gated and not @skip and not @preview # Optional: start the standalone dify-agent backend for Agent V2 runtime scenarios. # This is required for scenarios tagged @agent-backend-runtime. It is separate # from @external-model because other external-model scenarios may not use dify-agent. # When enabled, the E2E runner also starts the shellctl local sandbox required by # dify-agent's dify.shell/config runtime layer. # E2E_START_AGENT_BACKEND=1 # E2E_AGENT_BACKEND_PORT=5050 # E2E_AGENT_BACKEND_URL=http://127.0.0.1:5050 # E2E_SHELLCTL_PORT=5004 # E2E_SHELLCTL_URL=http://127.0.0.1:5004 # E2E_SHELLCTL_IMAGE=dify-agent-local-sandbox:e2e # E2E_SHELLCTL_AUTH_TOKEN= # Optional: Agent V2 seed installs the latest OpenAI, JSON Process, and Tavily # marketplace plugins by default. Override ids when testing a different provider # set, or pin exact marketplace package identifiers for reproducible CI runs. # E2E_MARKETPLACE_API_URL=https://marketplace.dify.ai # E2E_MARKETPLACE_PLUGIN_IDS=langgenius/openai,langgenius/json_process,langgenius/tavily # E2E_MARKETPLACE_PLUGIN_UNIQUE_IDENTIFIERS= # Optional: required only for OAuth tool fixture scenarios. # E2E_OAUTH_TOOL_CREDENTIAL_ID= # E2E_OAUTH_TOOL_PROVIDER= # E2E_OAUTH_TOOL_NAME= # Optional: required only for broken model recovery scenarios. # E2E_BROKEN_MODEL_PROVIDER= # E2E_BROKEN_MODEL_NAME=broken-model # E2E_BROKEN_MODEL_TYPE=llm