Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Copilot CLI BYOK article lacks a third-party gateway example

未关闭 适合新手
#46,018 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

triage
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。