docs(docs/ai-coder/ai-gateway/clients): update VS Code to reflect 1.122 Custom Endpoint support#26126
Conversation
Docs preview📖 View docs preview for |
…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
a7c62a3 to
75e7442
Compare
dannykopping
left a comment
There was a problem hiding this comment.
Thanks for this @matifali
Have you personally tested this functionality for both OAI & Anthropic?
Yes I have tested both. My existing settings stoped working which prompted me to look into this so this PR is created after I verified personally. |
dannykopping
left a comment
There was a problem hiding this comment.
Awesome, thanks @matifali
|
@nickvigilante, what are your thoughts on backporting such updates at least to our ESR branch? |
|
I would say yes, bundle into the ESR branch, provided we have a good backporting mechanism to do so. Ben wants to display the release branch itself for each version and not just the latest tag, so any meaningful update we can make to the docs is worth it to do. |
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.mdcustomoaivendor withcustomendpointapiTypefield (responsesfor OpenAI,messagesfor Anthropic)…/aibridge/anthropic)docs/ai-coder/ai-gateway/clients/index.md❌ → ✅Research notes
customoai) provider which is now deprecated.apiType: "messages"+ base URL…/api/v2/aibridge/anthropic(Coder's gateway accepts the Coder session token asx-api-key).apiType: "responses"+ base URL…/api/v2/aibridge/openai.${input:chat.lm.secret.XXXXX}in the JSON.