diff --git a/docs/cli-agents/claude-code.mdx b/docs/cli-agents/claude-code.mdx index 0adbb68178a..328d5f0c206 100644 --- a/docs/cli-agents/claude-code.mdx +++ b/docs/cli-agents/claude-code.mdx @@ -24,8 +24,7 @@ icon: "star-of-life" All examples below use `ANTHROPIC_CUSTOM_HEADERS` to pass your Bifrost virtual key. This is the recommended approach and works across all - tested Claude Code versions. If you are on an older version that does not support custom headers, you can fall back to `ANTHROPIC_API_KEY` - instead. + tested Claude Code versions. ## Installing Claude Code @@ -86,17 +85,6 @@ You will need to update the most granular `settings.json`. standalone file, or you will overwrite other settings like `permissions`, `model`, and `apiKeyHelper`. -```json -"env": { - "ANTHROPIC_BASE_URL": "http://localhost:8080/anthropic", - "ANTHROPIC_API_KEY": "your-virtual-key", - "ANTHROPIC_DEFAULT_HAIKU_MODEL": "haiku-model", - "ANTHROPIC_DEFAULT_SONNET_MODEL": "sonnet-model" -} -``` - -For a more reliable approach, use the `ANTHROPIC_CUSTOM_HEADERS` environment variable as shown below. - ```json "env": { "ANTHROPIC_BASE_URL": "http://localhost:8080/anthropic",