mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
chore: rework state machine further (#16567)
This commit is contained in:
1 parent
e47ed5e57f
commit
ab6cce62b8
4 files changed
+77
-24
No files matched your search
@@ -214,10 +214,6 @@ impl TurnState {
|
||||
!self.pending_input.is_empty()
|
||||
}
|
||||
|
||||
pub(crate) fn defer_mailbox_delivery_to_next_turn(&mut self) {
|
||||
self.set_mailbox_delivery_phase(MailboxDeliveryPhase::NextTurn);
|
||||
}
|
||||
|
||||
pub(crate) fn accept_mailbox_delivery_for_current_turn(&mut self) {
|
||||
self.set_mailbox_delivery_phase(MailboxDeliveryPhase::CurrentTurn);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user