Skip to content

Conversation

@matifali
Copy link
Member

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 extracted from #20340

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.
@coder coder deleted a comment from github-actions bot Oct 22, 2025
Copy link
Contributor

@dannykopping dannykopping left a 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.
@matifali matifali requested a review from dannykopping October 22, 2025 13:07

#### Compatibility Notes

Most AI coding assistants that support custom base URLs can work with AI Bridge. However, client-specific configuration requirements vary:
Copy link
Member

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

Copy link
Member Author

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.
matifali and others added 2 commits October 22, 2025 18:50
Co-authored-by: Danny Kopping <danny@coder.com>
Co-authored-by: Danny Kopping <danny@coder.com>
@matifali matifali enabled auto-merge (squash) October 22, 2025 13:50
@matifali matifali merged commit 823b14a into main Oct 22, 2025
30 checks passed
@matifali matifali deleted the aibridge-setup branch October 22, 2025 13:55
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants