claude-haiku-4.5 sub-agent fails with reasoning effort 'medium' not supported
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
Bug Report
Description
When the CLI internally routes sub-agent tasks to claude-haiku-4.5, it applies a medium reasoning effort, which is not supported by that model. This causes the following error:
Execution failed: Error: Reasoning effort 'medium' is not supported for model 'claude-haiku-4.5'
Steps to Reproduce
The error occurs during normal CLI usage when the task/explore sub-agent system selects claude-haiku-4.5 as the model with medium reasoning effort applied.
Expected Behavior
The CLI should not assign a reasoning effort level that is incompatible with the selected model. Either:
- Do not set reasoning effort for models that don't support it (e.g.,
claude-haiku-4.5) - Map
mediumto a compatible default forclaude-haiku-4.5 - Validate model/reasoning-effort compatibility before dispatch
Environment
- CLI Version: 1.0.79
- Model (main session):
gpt-5.4 - Failing sub-agent model:
claude-haiku-4.5 - OS: Linux
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.
Hướng nghiên cứu
Bắt đầu từ đường dẫn định tuyến sub-agent task/explore và lựa chọn model của CLI được mô tả trong báo cáo, nơi claude-haiku-4.5 nhận reasoning effort. Kiểm tra cách xử lý khả năng tương thích giữa model và effort; được xem là hoàn tất khi việc sử dụng CLI thông thường không còn dispatch một thiết lập medium không được hỗ trợ cho model đó, kèm theo kiểm tra hồi quy nếu tìm thấy vị trí test liên quan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100