When dealing with responses that have no chat property, stream data parser throws an error. In order to fix this we'll need to do an early return of null when attempting to parse non-existent chat data.
CHANGES
return null for chat data if the parsed response has none
CONTEXT
When dealing with responses that have no chat property, stream data parser throws an error. In order to fix this we'll need to do an early return of null when attempting to parse non-existent chat data.
CHANGES