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

未关闭 适合新手
#32,850 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript

调研方向

从 packages/contracts/src/orchestratorMcp.ts 第 111 行的 target.options 描述入手,并检查 orchestrator_capabilities 为每个提供方返回的选项名称。更新示例或措辞,引导 Codex 用户使用 reasoningEffort,同时确保其他提供方的名称准确无误。完成标准是,文档中的示例不再导致使用报告中被拒绝的 effort 选项。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
7 小时 33 分钟
30 天内合并 PR
96

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。