| ▲ | ricardobeat 2 days ago | |
ANTHROPIC_SUBAGENT_MODEL is not a valid setting, should be CLAUDE_CODE_SUBAGENT_MODEL. | ||
| ▲ | rapind 2 days ago | parent [-] | |
This is correct. Sorry I was using my phone to post. Here's what my bash alias verbatim looks like (.bashrc / .zshrc). The DEEPSEEK_API_KEY var is setup separately (so claude doesn't see it): ---- alias clauded='ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic ANTHROPIC_AUTH_TOKEN=$DEEPSEEK_API_KEY ANTHROPIC_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-v4-flash CLAUDE_CODE_SUBAGENT_MODEL=deepseek-v4-flash CLAUDE_CODE_EFFORT_LEVEL=max claude' ---- I doubt that the opus, sonnet, and haiku model args actually matter if you want to omit them. I run this on a VPS that has no other credentials or project access so I can give it the skip permissions arg. | ||