Search the documentation
6 pages for claude_code_enable_gateway_model_discovery.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…rity approval dialog was required * Fixed gateway model discovery (`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY`) never running when `apiKeyHelper` is the only credential * Fixed `claude logs` leav…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY` | Set to `1` to populate the `/model` picker from your gateway's `/v1/model…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…have already enabled it through managed settings. To enable it, set `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` in your shell or in the `env` block of `~/.claude/settings.json`. Discovered models…
Gateway protocol reference
Claude Code CLI · in the page
llm-gateway-protocol
…discovered models from the picker. Developers enable it by setting [`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1`](/docs/en/env-vars), in their own environment or through managed settings. Discovery…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…| | `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY`…
Model configuration
Claude Code CLI · in the page
model-config
…an populate the picker from the gateway's `/v1/models` endpoint when `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` is set, so this variable is needed only when discovery is disabled or does not retur…