docs: add AI Bridge Proxy client configuration#21904
Conversation
961fe43 to
7ced267
Compare
7ced267 to
3b68147
Compare
| | [VS Code](./vscode.md) | ✅ | ❌ | Only supports Custom Base URL for OpenAI. | | ||
| | [JetBrains IDEs](./jetbrains.md) | ✅ | ❌ | Works in Chat mode via "Bring Your Own Key". | | ||
| | [Zed](./zed.md) | ✅ | ✅ | | | ||
| | [GitHub Copilot](./copilot.md) | ⚙️ | - | Requires [AI Bridge Proxy](../ai-bridge-proxy/index.md). Uses per-user GitHub tokens. | |
There was a problem hiding this comment.
Doesn't Anthropic models work through Proxy?
There was a problem hiding this comment.
Copilot supports OpenAI and Anthropic models, but all the tests that I ran, always used OpenAI compatible endpoints, never Anthropic endpoints, even for anthropic models. Is this table to represent that it supports OpenAI/Anthropic models or that it uses OpenAI/Anthropic compatible endpoints?
There was a problem hiding this comment.
Well we originally laid it for showing support for endpoints but stuff has changed with AI Proxy.
dannykopping
left a comment
There was a problem hiding this comment.
Generally LGTM, great docs!
|
|
||
| ### Trusting the CA certificate | ||
|
|
||
| The preferred approach is to configure the CA certificate directly in the AI tool's settings, as this limits the scope of the trusted certificate to that specific application. |
There was a problem hiding this comment.
Follow-up: we may need to add client-specific instructions for this. We could add a section the the client-specific docs we already have.
There was a problem hiding this comment.
We have specific instructions for this for copilot. Do you mean for all the other tools, like claude, codex, ...?
|
|
||
| This means: | ||
|
|
||
| * Proxy configuration: Make sure the `HTTP_PROXY` and `HTTPS_PROXY` environment variables are properly set in your workspace, as the `http.proxy` VS Code setting is for the local machine. |
There was a problem hiding this comment.
I think we can set these settings on the remote side too. Would be nice to validate @ssncferreira
When vscode://settings/http.useLocalProxyConfiguration is disabled,d VS Code respects vscode://settings/http.proxy on the remote side.
{
"http.proxy": ""
}There was a problem hiding this comment.
This section was updated in a62a8fe with the Remote settings config.
I thought I managed to test it with the HTTP_PROXY and HTTPS_PROXY env variables, but I might have misconfigured something, because I retried it and couldn't (and managed to break my VS Code in the process 😅 ). The updated section was tested properly and is working ✅
42b4bfe to
a62a8fe
Compare


Description
This PR adds documentation for configuring clients to work with AI Bridge via AI Bridge Proxy, specifically GitHub Copilot.
Preview: https://coder.com/docs/@docs-aibridge-proxy-client-config/ai-coder/ai-bridge/ai-bridge-proxy/setup#client-configuration
Changes
docs/ai-coder/ai-bridge/ai-bridge-proxy/setup.mdcovering proxy and CA certificate configurationdocs/ai-coder/ai-bridge/clients/copilot.mdwith configuration instructions for: Copilot CLI, VS Code Copilot Extension, JetBrains IDEsdocs/ai-coder/ai-bridge/clients/index.md:Related to: coder/internal#1188