From f4ccc759b0f40e5b7aab626aafbdc253a1d9e76f Mon Sep 17 00:00:00 2001 From: kevin zhao Date: Wed, 19 Nov 2025 16:14:07 -0800 Subject: [PATCH] fixing compile error --- codex-rs/tui/src/chatwidget/agent.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codex-rs/tui/src/chatwidget/agent.rs b/codex-rs/tui/src/chatwidget/agent.rs index 3c326fed86..0abddac50d 100644 --- a/codex-rs/tui/src/chatwidget/agent.rs +++ b/codex-rs/tui/src/chatwidget/agent.rs @@ -37,7 +37,10 @@ pub(crate) fn spawn_agent( eprintln!("{message}"); app_event_tx_clone.send(AppEvent::CodexEvent(Event { id: "".to_string(), - msg: EventMsg::Error(ErrorEvent { message }), + msg: EventMsg::Error(ErrorEvent { + message, + http_status_code: None, + }), })); app_event_tx_clone.send(AppEvent::ExitRequest); tracing::error!("failed to initialize codex: {err}");