fix(codexapp): extend child agent wait guidance

This commit is contained in:
shiyue
2026-06-17 14:19:53 +08:00
parent b4bcd170d2
commit 0812763c75
3 changed files with 5 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ function collaborationSummary(params = {}) {
mode: collaborationMode?.mode || null,
hasModel: Boolean(settings.model),
hasDeveloperInstructions: /Codex sub-agent spawning rules/.test(String(settings.developer_instructions || '')),
hasWaitAgentRetryGuidance: /wait_agent[\s\S]*timeout_ms[\s\S]*additional wait_agent rounds/.test(String(settings.developer_instructions || '')),
hasReasoningEffort: Object.prototype.hasOwnProperty.call(settings, 'reasoning_effort'),
hasTopLevelModel: Object.prototype.hasOwnProperty.call(params, 'model'),
hasTopLevelEffort: Object.prototype.hasOwnProperty.call(params, 'effort'),