fix: Correct the stream error message (#7266)

Fixes a copy paste bug with the error handling in  `try_run_turn`

I have read the CLA Document and I hereby sign the CLA
This commit is contained in:
Clifford Ressel 2025-11-24 23:16:29 -05:00 committed by GitHub
parent fc2ff624ac
commit 3308dc5e48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {