Copilot CLI BYOK article lacks a third-party gateway example
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Mở content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md và bắt đầu bằng "Connecting to an OpenAI-compatible endpoint," đồng thời so sánh các ví dụ OpenAI và local-Ollama hiện có. Thêm một ví dụ Yolo-Auto ngắn bao quát ba biến, các model hỗ trợ tool-calling và streaming, cùng giới hạn gói 131072 token bên cạnh COPILOT_PROVIDER_MAX_PROMPT_TOKENS; hoàn tất khi việc thiết lập gateway và tương tác token đã rõ ràng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 20.9k
- Fork
- 68.8k
- Merge trung bình
- 13 giờ 43 phút
- Pull request đã merge (30 ngày)
- 110
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/docs
-
localization
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 72/100
-
builder persona
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
content localization
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
content localization
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
content dependabot needs SME
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Issue tương tự
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Đang mởclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
supermomonga/zcode-acp#24 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
growthbook/growthbook#7100 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
lobehub/lobe-icons#422 · 1 bình luận ·