mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Preserve turn triggers across delegated agent work (#44659)
## Why Delegated usage should retain the trigger of the turn that initiated it, including composer input and scheduled automation. ## What changed Propagate `turn_trigger` through agent spawning and follow-up messages in both multi-agent tool implementations. Apply the supplied trigger when pending mailbox work starts a new turn. ## Testing Extend tests to verify trigger propagation to spawned and nested agents, updated triggers on reused agents and peer follow-ups, and preservation of the active turn's trigger when steering. GitOrigin-RevId: e8fea208587c633fec7cb3f1c0815ff91d1a44e5
This commit is contained in:
1 parent
4caa5d615d
commit
e004dc6a4b
10 files changed
+85
-7
No files matched your search
@@ -765,6 +765,7 @@ impl AgentControl {
|
||||
|
||||
let start_options = TurnStartOptions {
|
||||
parent_turn_id: options.parent_turn_id,
|
||||
turn_trigger: options.turn_trigger,
|
||||
root_turn_id: options.root_turn_id,
|
||||
cyber_access_program: options.cyber_access_program,
|
||||
..Default::default()
|
||||
|
||||
Reference in new issue
Block a user