[Bug]: delegate_task's options example names `effort`, which Codex models reject

Đang mở Phù hợp với người mới
#32,850 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Bắt đầu với phần mô tả target.options tại dòng 111 trong packages/contracts/src/orchestratorMcp.ts và kiểm tra tên các tùy chọn mà orchestrator_capabilities trả về cho từng nhà cung cấp. Cập nhật ví dụ hoặc cách diễn đạt để hướng dẫn người dùng Codex dùng reasoningEffort, đồng thời giữ chính xác tên của các nhà cung cấp khác. Hoàn thành khi ví dụ được ghi lại không còn dẫn đến tùy chọn effort bị từ chối như đã 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ả

Area

packages/contracts or packages/shared

Steps to reproduce
  1. On a Claude thread, call orchestrator_capabilities. Claude models list effort, Codex models list reasoningEffort.
  2. delegate_task's target.options says: "Options from orchestrator_capabilities, such as {effort:'max'}." (packages/contracts/src/orchestratorMcp.ts, line 111 on main)
  3. Call delegate_task with a Codex target and options { effort: "high" }.
Expected behavior

The example works for every provider, or says option names differ by provider.

Actual behavior

"Model gpt-6-astra on provider codex rejected options: Unknown option effort; supported options: reasoningEffort, serviceTier." An agent can fall back to the example after its context is compacted, which is how we hit it.

Impact

Minor. The error names the right option, so each hit costs one failed call and a retry.

Suggested fix

Name the provider in the example, or map effort to reasoningEffort for Codex.

Version

0.1.7

Environment

T3 Code server on WSL2 (Linux 6.18) on Windows. Claude Code parent, Codex child.

Related

None found for four searches. #16149 is about Cursor defaults.

Filed by

Drafted by Claude Code (Claude Opus 5.5) in a T3 Code thread, reviewed by me.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
7 giờ 33 phút
Pull request đã merge (30 ngày)
96

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

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.