Skip to content

Conversation

@pavanmudumba
Copy link

@pavanmudumba pavanmudumba commented Dec 28, 2025

Why are these changes needed?

The console streaming renderer unconditionally appends message.content from
ModelClientStreamingChunkEvent. In edge cases or malformed streams, this can
cause an AttributeError and crash the UI.

What was changed?

Added a defensive check to ensure message.content is not None before appending
it to the streaming buffer. This does not change behavior for valid streaming
chunks and prevents UI crashes.

Related issue number

Fixes #7130

Checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant