CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS
Updated by Alex Sorokoletov
CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS is a Claude Code environment variable. Added in v2.1.321 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added in v2.1.321 |
| Category | Terminal and UI |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS": "<value>"
}
}Related variables
CLAUDE_CODE_USER_DELEGATED_SESSION_SERVER_CHECK_PROVIDERSCLAUDE_CODE_TMUX_SESSION: Tmux session name shown in UI header.CLAUDE_AX_ANNOUNCEMENT_HOLD_MS: Milliseconds to hold a screen reader announcement when a hold is requested; defaults to 1000 and is capped at 10000.CLAUDE_AX_PREPARK_MSCLAUDE_AX_SCREEN_READERCLAUDE_AX_STARTUP_QUIET_MS: Startup quiet window (milliseconds) for screen-reader mode.CLAUDE_CODE_ACCESSIBILITY: Enable accessibility mode; disables cursor hiding.CLAUDE_CODE_ALT_SCREEN_FULL_REPAINT
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS?
Added in v2.1.321 and still present in v2.1.332.
How do I set CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS?
Export it before starting Claude Code (export CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_PROVIDERS=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.