fix: address review feedback on #1621 and #1623 (#1631)

- formalizes `ExecApprovalElicitRequestParams`
- adds some defensive logic when messages fail to parse
- fixes a typo in a comment
This commit is contained in:
Michael Bolin
2025-07-20 17:42:11 -04:00
committed by GitHub
parent 8b590105de
commit 8a6c6cee88
2 changed files with 63 additions and 18 deletions

View File

@@ -365,7 +365,7 @@ impl MessageProcessor {
// Spawn an async task to handle the Codex session so that we do not
// block the synchronous message-processing loop.
task::spawn(async move {
// Run the Codex session and stream events Fck to the client.
// Run the Codex session and stream events back to the client.
crate::codex_tool_runner::run_codex_tool_session(id, initial_prompt, config, outgoing)
.await;
});