89 unmodified lines909192939394959689 unmodified lines ) for chunk in stream: stream_response = getattr(chunk, "text", None) stream_response = getattr(chunk, "text", "") if stream_response: yield stream_response