-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs: add base URLs and authentication section to AI Bridge #20404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add a concise Client Configuration section that explains how to configure AI 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 details This is a focused extraction from the broader aibridge-provider-docs branch, containing only the essential setup information without client-specific guides.
…bility notes - Added a reference to using `data.coder_workspace_owner.me.session_token` in templates for generating Coder API keys. - Reformatted the 'Compatibility Notes' section for better clarity, and revised some details about client-specific requirements.
0393ec0 to
9ce1e44
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, a couple minor comments.
- Clarify that OPENAI_BASE_URL and ANTHROPIC_BASE_URL are commonly environment variables but configuration methods vary by client - Reframe authentication section from operator perspective, referring to 'users' and 'their' keys rather than 'your' keys - Make it clear operators don't distribute provider keys to users
Update the session token configuration line to be explicitly for template admins who are setting up authentication for their users, rather than sounding like it's for end users themselves.
|
|
||
| #### Compatibility Notes | ||
|
|
||
| Most AI coding assistants that support custom base URLs can work with AI Bridge. However, client-specific configuration requirements vary: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should list compatibility notes for stuff we know about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to do that in a follow up.
…I coding assistants. Include specific examples such as removing the `/v1` suffix for URL formats and note clients like Cursor that proxy requests through their servers. Highlight instances where custom base URLs are not supported, as in Copilot CLI and Sourcegraph Amp.
Co-authored-by: Danny Kopping <danny@coder.com>
Co-authored-by: Danny Kopping <danny@coder.com>
Add a concise Client Configuration section that explains how to configure
AI coding tools to use AI Bridge. This includes:
This is extracted from #20340