Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: Correct the stream error message (#7266)

Clifford Ressel3308dc5e4831
diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rs
index 82e14178eb..799374d6d6 100644
--- a/codex-rs/core/src/codex.rs
+++ b/codex-rs/core/src/codex.rs
@@ -2342,7 +2342,7 @@ async fn try_run_turn(
sess.send_event(&turn_context, EventMsg::AgentMessageContentDelta(event))
.await;
} else {
- error_or_panic("ReasoningSummaryDelta without active item".to_string());
+ error_or_panic("OutputTextDelta without active item".to_string());
}
}
ResponseEvent::ReasoningSummaryDelta {