GitHub Copilot 接入 / GitHub Copilot API gateway
VS Code Copilot 自定义 Routin 模型
VS Code Copilot custom models on Routin
在 Copilot Chat 的自定义模型配置里,把 vendor 设为 customendpoint、apiType 设为 responses,URL 指向 Routin Responses 接口。
In Copilot Chat custom models, set vendor to customendpoint and apiType to responses, then point the URL at Routin’s Responses endpoint.
接入要点 / Setup facts
- 协议 / Protocol: OpenAI Responses API
- Base URL:
https://api.routin.ai/v1/responses - 模型 URL 形如 https://api.routin.ai/v1/responses?token={ApiKey},保留 {ApiKey} 占位,Copilot 会替换。 / Use a model URL like https://api.routin.ai/v1/responses?token={ApiKey}. Keep the {ApiKey} placeholder so Copilot can substitute it.
- apiType 为 responses,不是 chat completions。 / apiType is responses, not chat completions.