Copilot CLI BYOK article lacks a third-party gateway example
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 领域
- cli, documentation
调研方向
打开 content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md,从 "Connecting to an OpenAI-compatible endpoint," 开始,同时比较现有的 OpenAI 和 local-Ollama 示例。添加一个简短的 Yolo-Auto 示例,涵盖三个变量、支持 tool-calling 和 streaming 的模型,以及与 COPILOT_PROVIDER_MAX_PROMPT_TOKENS 并列的 131072-token 计划限制;当网关设置和 token 交互清晰时即完成。
由索引模型根据 Issue 内容生成。
描述
Issue body
The Copilot CLI BYOK article (content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md) documents COPILOT_PROVIDER_BASE_URL / COPILOT_PROVIDER_API_KEY / COPILOT_MODEL with OpenAI and local-Ollama examples only.
The openai provider type explicitly covers "any other OpenAI Chat Completions API-compatible endpoint", but a reader connecting a third-party gateway has no worked example showing:
- the three variables with gateway-style values,
- which gateway models satisfy the tool calling + streaming requirements,
- how a provider-enforced plan context window interacts with
COPILOT_PROVIDER_MAX_PROMPT_TOKENS.
Proposal: add a short third-party gateway example block to "Connecting to an OpenAI-compatible endpoint". A concrete candidate is Yolo-Auto (https://yolo-auto.com/v1), whose yolo and yolo-small models support tool calling, streaming, and image inputs, and which enforces a 131072-token context window per plan.
- 主要语言
- TypeScript
- 星标
- 20.9k
- 派生
- 68.8k
- 平均合并
- 13 小时 43 分钟
- 30 天内合并 PR
- 110
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/docs 的其他 Issue
-
localization
难度 2/5 1-2 天 新手友好度 72/100
-
builder persona
难度 2/5 1-3 小时 新手友好度 82/100
-
content localization
难度 2/5 1-3 小时 新手友好度 78/100
-
content localization
难度 1/5 1 小时以内 新手友好度 92/100
-
content dependabot needs SME
难度 1/5 1 小时以内 新手友好度 82/100
相似的 Issue
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
supermomonga/zcode-acp#24 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
growthbook/growthbook#7100 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
lobehub/lobe-icons#422 · 1 条评论 ·