makecindy / makecindy/cindy

恢复 Codex 任务后创建子代理时丢失 reasoning_effort 并回退到 low

Open
#2,334 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: Xwordsman
**客户端版本**: 0.1.38

---

## 现象

Cindy 中的 Codex 任务选择了 `gpt-5.6-sol` 和最高推理强度(xhigh/max)。主任务本身保持高强度,但恢复旧任务后创建的部分子代理会被请求为 `gpt-5.6-low`,或等价的 `gpt-5.6-sol + reasoning_effort=low`。

## 复现步骤

1. 创建 Codex 任务并选择 `gpt-5.6-sol` 与 xhigh。
2. 暂停、离开或恢复该旧任务。
3. 让主任务创建多个子代理。
4. 查看请求记录或会话元数据。

观察到:某些恢复后的父任务轮次中,`reasoning_effort` 字段为空;随后创建的子代理回退到模型目录默认值 low。同一任务在父任务上下文明确为 xhigh 时,子代理又能继承 xhigh。

## 期望行为

恢复任务时应持久化并恢复用户选择的模型与推理强度。创建子代理时应继承父任务的 `model` 和 `reasoning_effort`;如果字段缺失,应从任务设置恢复,不能静默回退到 low。

## 实际行为

主任务界面显示的模型和最高模式没有变化,但部分子代理请求使用了 low,导致同一批任务出现不同推理强度,且用户很难从界面发现。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26100)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified in the issue. Start by tracing how restored Codex task metadata is loaded and how sub-agent requests receive model and reasoning_effort, then compare those values with the task settings and request records. Done means restored tasks preserve the selected values and newly created sub-agents inherit them without silently falling back to low.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.