Skip to content

Commit 3fe29ec

Browse files
authored
docs: fix ANTHROPIC_BASE_URL example in AI Bridge client docs (#20853)
1 parent ddcc841 commit 3fe29ec

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/ai-coder/ai-bridge/client-config.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ resource "coder_agent" "dev" {
4242
os = "linux"
4343
dir = local.repo_dir
4444
env = {
45-
ANTHROPIC_BASE_URL : "${data.coder_workspace.me.url}/api/v2/aibridge/anthropic",
45+
ANTHROPIC_BASE_URL : "${data.coder_workspace.me.access_url}/api/v2/aibridge/anthropic",
4646
ANTHROPIC_AUTH_TOKEN : data.coder_workspace_owner.me.session_token
4747
}
4848
... # other agent configuration
@@ -63,7 +63,7 @@ resource "coder_agent" "dev" {
6363
os = "linux"
6464
dir = local.repo_dir
6565
env = {
66-
ANTHROPIC_BASE_URL : "${data.coder_workspace.me.url}/api/v2/aibridge/anthropic",
66+
ANTHROPIC_BASE_URL : "${data.coder_workspace.me.access_url}/api/v2/aibridge/anthropic",
6767
ANTHROPIC_AUTH_TOKEN : data.coder_workspace_owner.me.session_token
6868
}
6969
... # other agent configuration
@@ -96,17 +96,17 @@ The table below shows tested AI clients and their compatibility with AI Bridge.
9696

9797
| Client | OpenAI support | Anthropic support | Notes |
9898
|-------------------------------------------------------------------------------------------------------------------------------------|----------------|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
99-
| [Claude Code](https://docs.claude.com/en/docs/claude-code/settings#environment-variables) | N/A || Works out of the box and can be preconfigured in templates. |
100-
| Claude Code (VS Code) | N/A || May require signing in once; afterwards respects workspace environment variables. |
99+
| [Claude Code](https://docs.claude.com/en/docs/claude-code/settings#environment-variables) | - || Works out of the box and can be preconfigured in templates. |
100+
| Claude Code (VS Code) | - || May require signing in once; afterwards respects workspace environment variables. |
101101
| [Cursor](https://cursor.com/docs/settings/api-keys) | ⚠️ || Only non-reasoning models like `gpt-4.1` are available when using a custom endpoint. Requests still transit Cursor's cloud. There is no central admin setting to configure this. |
102102
| [Roo Code](https://docs.roocode.com/features/api-configuration-profiles#creating-and-managing-profiles) ||| Use the **OpenAI Compatible** provider with the legacy format to avoid `/v1/responses`. |
103103
| [Codex CLI](https://github.com/openai/codex/blob/main/docs/config.md#model_providers) || N/A | `gpt-5-codex` support is [in progress](https://github.com/coder/aibridge/issues/16). |
104-
| [GitHub Copilot (VS Code)](https://code.visualstudio.com/docs/copilot/customization/language-models#_use-an-openaicompatible-model) ||| Requires the pre-release extension. Anthropic endpoints are not supported. |
104+
| [GitHub Copilot (VS Code)](https://code.visualstudio.com/docs/copilot/customization/language-models#_add-an-openaicompatible-model) ||| Requires the pre-release extension. Anthropic endpoints are not supported. |
105105
| [Goose](https://block.github.io/goose/docs/getting-started/providers/#available-providers) ||| |
106106
| [Goose Desktop](https://block.github.io/goose/docs/getting-started/providers/#available-providers) ||| |
107-
| WindSurf || | No option to override the base URL. |
108-
| Sourcegraph Amp || | No option to override the base URL. |
109-
| Kiro || | No option to override the base URL. |
107+
| WindSurf || | No option to override the base URL. |
108+
| Sourcegraph Amp || | No option to override the base URL. |
109+
| Kiro || | No option to override the base URL. |
110110
| [Copilot CLI](https://github.com/github/copilot-cli/issues/104) ||| No support for custom base URLs and uses a `GITHUB_TOKEN` for authentication. |
111111
| [Kilo Code](https://kilocode.ai/docs/features/api-configuration-profiles#creating-and-managing-profiles) ||| Similar to Roo Code. |
112112
| Gemini CLI ||| Not supported yet. |

0 commit comments

Comments
 (0)