Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Copilot CLI BYOK article lacks a third-party gateway example

Đang mở Phù hợp với người mới
#46,018 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

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.

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/docs

Tất cả issue của github/docs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.