Skip to content

docs(docs/ai-coder/ai-gateway/clients): update VS Code to reflect 1.122 Custom Endpoint support#26126

Open
matifali wants to merge 2 commits into
mainfrom
docs/vscode-ai-gateway-1122
Open

docs(docs/ai-coder/ai-gateway/clients): update VS Code to reflect 1.122 Custom Endpoint support#26126
matifali wants to merge 2 commits into
mainfrom
docs/vscode-ai-gateway-1122

Conversation

@matifali
Copy link
Copy Markdown
Member

@matifali matifali commented Jun 6, 2026

Updates the VS Code AI Gateway client docs to reflect the Custom Endpoint provider introduced in VS Code 1.121 (Insiders) and promoted to Stable in 1.122.

Changes

docs/ai-coder/ai-gateway/clients/vscode.md

  • Replace the deprecated customoai vendor with customendpoint
  • Add the required apiType field (responses for OpenAI, messages for Anthropic)
  • Add Anthropic provider setup (Messages API type, base URL …/aibridge/anthropic)
  • Note GitHub sign-in is no longer required — works in air-gapped/restricted environments
  • Add limitation callout: inline suggestions and NES still require GitHub Copilot
  • Reflect the UI-first API key entry flow (VS Code stores the token securely; do not paste into JSON directly)
  • Drop the Centralized/BYOK split — VS Code has no template injection path, so both scenarios follow the same user-driven UI flow

docs/ai-coder/ai-gateway/clients/index.md

  • VS Code compatibility row: Anthropic ❌ → ✅
  • Updated Notes column
Research notes
  • VS Code 1.121 shipped the Custom Endpoint provider (Insiders), replacing the legacy OpenAI Compatible (customoai) provider which is now deprecated.
  • VS Code 1.122 promoted Custom Endpoint to Stable and removed the GitHub sign-in requirement for BYOK.
  • Anthropic support confirmed working: apiType: "messages" + base URL …/api/v2/aibridge/anthropic (Coder's gateway accepts the Coder session token as x-api-key).
  • OpenAI uses apiType: "responses" + base URL …/api/v2/aibridge/openai.
  • API keys must be entered via the Manage Language Models UI — VS Code stores them securely and references them as ${input:chat.lm.secret.XXXXX} in the JSON.

This PR was drafted by Coder Agents on behalf of @matifali.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 6, 2026

Docs preview

📖 View docs preview for docs/ai-coder/ai-gateway/clients/index.md

…22 Custom Endpoint support

- Replace deprecated customoai vendor with customendpoint provider
- Add apiType field (responses for OpenAI, messages for Anthropic)
- Add Anthropic provider setup using Messages API type
- Note that GitHub sign-in is not required (air-gapped environments)
- Add limitation callout for inline suggestions
- Reflect UI-first flow for API key entry (stored securely by VS Code)
- Update compatibility table: Anthropic now supported
@matifali matifali force-pushed the docs/vscode-ai-gateway-1122 branch from a7c62a3 to 75e7442 Compare June 6, 2026 21:40
@matifali matifali changed the title docs(ai-coder/ai-gateway/clients): update VS Code to reflect 1.122 Custom Endpoint support docs(docs/ai-coder/ai-gateway/clients): update VS Code to reflect 1.122 Custom Endpoint support Jun 6, 2026
@matifali matifali marked this pull request as ready for review June 6, 2026 21:46
@matifali matifali requested review from dannykopping and ssncferreira and removed request for ssncferreira June 6, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant