Skip to content

Conversation

theflyfoxX
Copy link

@theflyfoxX theflyfoxX commented Jun 22, 2025

  • Avoids ambiguous if not
  • Ensures only False leads to skipping chunks
  • Handles exceptions in handle_chunk() properly

- Avoids ambiguous if not
- Ensures only False leads to skipping chunks
-  Handles exceptions in handle_chunk() properly
@theflyfoxX theflyfoxX requested a review from a team as a code owner June 22, 2025 22:01
Comment on lines +239 to 241
valid = _is_valid_chat_completion_chunk_weak(sse_event)
if valid is False:
continue
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this makes sense, when can this function return anything other than a bool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants