docs: clarify that only Coder tokens work with AI Bridge authentication by blinkagent[bot] · Pull Request #21791 · coder/coder

Expand Up @@ -15,10 +15,14 @@ Replace `coder.example.com` with your actual Coder deployment URL.
## Authentication
Instead of distributing provider-specific API keys (OpenAI/Anthropic keys) to users, they authenticate to AI Bridge using their **Coder session token** or **API key**: Instead of distributing provider-specific API keys (OpenAI/Anthropic keys) to users, they authenticate to AI Bridge using their **Coder session token** or **Coder API key**:
- **OpenAI clients**: Users set `OPENAI_API_KEY` to their Coder session token or API key - **Anthropic clients**: Users set `ANTHROPIC_API_KEY` to their Coder session token or API key - **OpenAI clients**: Users set `OPENAI_API_KEY` to their Coder session token or Coder API key - **Anthropic clients**: Users set `ANTHROPIC_API_KEY` to their Coder session token or Coder API key
> [!NOTE] > Only Coder-issued tokens are accepted at this time. > Provider-specific API keys (such as OpenAI or Anthropic keys) will not work with AI Bridge.
Again, the exact environment variable or setting naming may differ from tool to tool; consult your tool's documentation.
Expand Down