mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
feat: add mailbox concept for wait (#16010)
Add a mailbox we can use for inter-agent communication `wait` is now based on it and don't take target anymore
This commit is contained in:
@@ -180,10 +180,7 @@ impl CodexThread {
|
||||
.session
|
||||
.queue_response_items_for_next_turn(items)
|
||||
.await;
|
||||
self.codex
|
||||
.session
|
||||
.ensure_task_for_queued_response_items()
|
||||
.await;
|
||||
self.codex.session.ensure_task_for_pending_inputs().await;
|
||||
}
|
||||
|
||||
Ok(submission_id)
|
||||
|
||||
Reference in New Issue
Block a user