Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9aa327a

Browse files
author
AI Bridge Setup
committed
docs(ai-bridge): add client configuration section with base URLs
Add a concise Client Configuration section that explains how to configureAI coding tools to use AI Bridge. This includes:- Base URL configuration for OpenAI and Anthropic endpoints- Authentication using Coder session tokens/API keys- General compatibility notes without specific client detailsThis is a focused extraction from the broader aibridge-provider-docs branch,containing only the essential setup information without client-specific guides.
1 parent038e23b commit9aa327a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

‎docs/ai-coder/ai-bridge.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,42 @@ Bridge is compatible with _[Google Vertex AI](https://cloud.google.com/vertex-ai
8181
>[!NOTE]
8282
>See[Supported APIs](#supported-apis) section below for a comprehensive list.
8383
84+
##Client Configuration
85+
86+
Once AI Bridge is enabled on the server, users need to configure their AI coding tools to use it. This section explains how to point clients to AI Bridge.
87+
88+
###Setting Base URLs
89+
90+
Configure your AI client to point to your Coder deployment's AI Bridge endpoints:
91+
92+
-**OpenAI-compatible clients**: Set`OPENAI_BASE_URL` to`https://coder.example.com/api/experimental/aibridge/openai/v1`
93+
-**Anthropic-compatible clients**: Set`ANTHROPIC_BASE_URL` to`https://coder.example.com/api/experimental/aibridge/anthropic`
94+
95+
Replace`coder.example.com` with your actual Coder deployment URL.
96+
97+
###Authentication
98+
99+
Instead of using provider-specific API keys (OpenAI/Anthropic keys), clients authenticate using your**Coder session token** or**API key**:
100+
101+
-**OpenAI clients**: Set`OPENAI_API_KEY` to your Coder session token or API key
102+
-**Anthropic clients**: Set`ANTHROPIC_API_KEY` to your Coder session token or API key
103+
104+
You can generate a Coder API key using:
105+
106+
```sh
107+
coder tokens create
108+
```
109+
110+
###Compatibility Notes
111+
112+
Most AI coding assistants that support custom base URLs can work with AI Bridge. However, client-specific configuration requirements vary:
113+
114+
- Some clients require specific URL formats or authentication methods
115+
- Some clients may proxy requests through their own servers, limiting compatibility
116+
- Some clients may not support custom base URLs at all
117+
118+
Consult your specific AI client's documentation for details on configuring custom API endpoints.
119+
84120
##Collected Data
85121

86122
Bridge collects:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp