Merge codex/goal-tools into codex/goal-session

This commit is contained in:
Tianyi Cui
2026-07-20 02:41:29 +08:00
2 changed files with 6 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class GoalScriptAdapter extends LlmAdapter {
if (goal === undefined) throw new Error('scripted goal state missing')
return toolCall('update_goal', { goal_id: goal.id, revision: goal.revision, action: 'pause' })
}
if (prompt.text === 'pause') return textReply('GOAL PAUSED')
if (prompt.text === 'pause') return textReply('UNEXPECTED CONTINUATION AFTER PAUSE')
return textReply('UNEXPECTED PROMPT')
}
}