Skip to content

Commit f4ccc75

Browse files
committed
fixing compile error
1 parent 09bd273 commit f4ccc75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

codex-rs/tui/src/chatwidget/agent.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ pub(crate) fn spawn_agent(
3737
eprintln!("{message}");
3838
app_event_tx_clone.send(AppEvent::CodexEvent(Event {
3939
id: "".to_string(),
40-
msg: EventMsg::Error(ErrorEvent { message }),
40+
msg: EventMsg::Error(ErrorEvent {
41+
message,
42+
http_status_code: None,
43+
}),
4144
}));
4245
app_event_tx_clone.send(AppEvent::ExitRequest);
4346
tracing::error!("failed to initialize codex: {err}");

0 commit comments

Comments
 (0)