From 7c19ff8cb3220f48b788d38eba3c15535c3efa03 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Fri, 21 Nov 2025 11:24:39 +0500 Subject: [PATCH] docs: fix ANTHROPIC_BASE_URL example in AI Bridge client docs Updated the ANTHROPIC_BASE_URL to use `access_url` instead of `url`. The `url` is actually called [`access_url`](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/workspace#access_url-1) Also fixed a broken link and legend. --- docs/ai-coder/ai-bridge/client-config.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ai-coder/ai-bridge/client-config.md b/docs/ai-coder/ai-bridge/client-config.md index 86e88639cc731..a2c71460d871e 100644 --- a/docs/ai-coder/ai-bridge/client-config.md +++ b/docs/ai-coder/ai-bridge/client-config.md @@ -42,7 +42,7 @@ resource "coder_agent" "dev" { os = "linux" dir = local.repo_dir env = { - ANTHROPIC_BASE_URL : "${data.coder_workspace.me.url}/api/v2/aibridge/anthropic", + ANTHROPIC_BASE_URL : "${data.coder_workspace.me.access_url}/api/v2/aibridge/anthropic", ANTHROPIC_AUTH_TOKEN : data.coder_workspace_owner.me.session_token } ... # other agent configuration @@ -63,7 +63,7 @@ resource "coder_agent" "dev" { os = "linux" dir = local.repo_dir env = { - ANTHROPIC_BASE_URL : "${data.coder_workspace.me.url}/api/v2/aibridge/anthropic", + ANTHROPIC_BASE_URL : "${data.coder_workspace.me.access_url}/api/v2/aibridge/anthropic", ANTHROPIC_AUTH_TOKEN : data.coder_workspace_owner.me.session_token } ... # other agent configuration @@ -96,17 +96,17 @@ The table below shows tested AI clients and their compatibility with AI Bridge. | Client | OpenAI support | Anthropic support | Notes | |-------------------------------------------------------------------------------------------------------------------------------------|----------------|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [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. | -| Claude Code (VS Code) | N/A | ✅ | May require signing in once; afterwards respects workspace environment variables. | +| [Claude Code](https://docs.claude.com/en/docs/claude-code/settings#environment-variables) | - | ✅ | Works out of the box and can be preconfigured in templates. | +| Claude Code (VS Code) | - | ✅ | May require signing in once; afterwards respects workspace environment variables. | | [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. | | [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`. | | [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). | -| [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. | +| [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. | | [Goose](https://block.github.io/goose/docs/getting-started/providers/#available-providers) | ❓ | ❓ | | | [Goose Desktop](https://block.github.io/goose/docs/getting-started/providers/#available-providers) | ❓ | ✅ | | -| WindSurf | ❌ | — | No option to override the base URL. | -| Sourcegraph Amp | ❌ | — | No option to override the base URL. | -| Kiro | ❌ | — | No option to override the base URL. | +| WindSurf | ❌ | ❌ | No option to override the base URL. | +| Sourcegraph Amp | ❌ | ❌ | No option to override the base URL. | +| Kiro | ❌ | ❌ | No option to override the base URL. | | [Copilot CLI](https://github.com/github/copilot-cli/issues/104) | ❌ | ❌ | No support for custom base URLs and uses a `GITHUB_TOKEN` for authentication. | | [Kilo Code](https://kilocode.ai/docs/features/api-configuration-profiles#creating-and-managing-profiles) | ✅ | ✅ | Similar to Roo Code. | | Gemini CLI | ❌ | ❌ | Not supported yet. |