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

Custom-agent reference documents reasoningEffort, but the working frontmatter key is reasoning-effort

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

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một 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
Công nghệ
github
Lĩnh vực
cli, documentation

Hướng nghiên cứu

Mở Custom Agents Reference được liên kết và tìm reasoningEffort, bao gồm mô tả của nó và các ví dụ về thứ tự ưu tiên. Cập nhật tài liệu tham chiếu để ghi lại reasoning-effort là khóa frontmatter đang hoạt động, chỉ giữ lại cả hai cách viết nếu dạng camelCase thực sự được hỗ trợ; hoàn tất có nghĩa là cú pháp được ghi lại khớp với hành vi đang hoạt động được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

triage

Describe the bug

The Copilot CLI custom-agent reference documents reasoningEffort as a frontmatter field. In Copilot CLI 1.0.88, that spelling did not apply the configured effort when I selected the agent with /agent. Changing only the field name to reasoning-effort made it work.

This matches the syntax reported in a comment on #2904. The reference currently leads users to configure a field that does not work in this case.

Affected version

GitHub Copilot CLI 1.0.88; macOS arm64.

Steps to reproduce the behavior

  1. Define a custom agent with reasoningEffort: "low" in its YAML frontmatter.
  2. Select it with /agent and observe that the configured effort does not take effect.
  3. Change only that key to reasoning-effort: "low", reload the agent, and select it again.
  4. Observe that the configured effort now takes effect.

Expected behavior

Update the custom-agent frontmatter reference to document reasoning-effort as the working key, including its description and precedence examples. If reasoningEffort is also intended to be supported, document both spellings and fix the camelCase spelling separately; it should not be presented as working while it is not.

Additional context

The issue is the documented frontmatter spelling, not a request to add per-agent reasoning effort: that capability was addressed in #2904.

Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
17 giờ 6 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

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/copilot-cli

Tất cả issue của github/copilot-cli

Issue tương tự

Thêm issue về Shell/Bash

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.