记录如何通过 copilot-api 将 GitHub Copilot 转换为 OpenAI Compatible 接口,再作为 new-api 渠道接入 OpenCode,从而让 OpenCode 使用 Copilot 订阅中的 Claude、Gemini、GPT 等模型。
2026-05-31