mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
codex: address PR review feedback (#31176)
This commit is contained in:
@@ -118,13 +118,10 @@ impl Session {
|
||||
));
|
||||
}
|
||||
|
||||
self.input_queue
|
||||
.extend_pending_input_for_turn_state(
|
||||
turn_state.as_ref(),
|
||||
input.into_iter().map(TurnInput::ResponseItem).collect(),
|
||||
)
|
||||
.await;
|
||||
self.start_task(turn_context, Vec::new(), RegularTask::new())
|
||||
// Keep automatic input task-owned so a pre-turn failure drops this
|
||||
// attempt instead of immediately replaying it from the pending queue.
|
||||
let input = input.into_iter().map(TurnInput::ResponseItem).collect();
|
||||
self.start_task(turn_context, input, RegularTask::new())
|
||||
.await;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user