Skip to content

Enable the stream callback function to get complete chunk information#10

Closed
johnd0e wants to merge 1 commit intoleafo:mainfrom
johnd0e:no-parse
Closed

Enable the stream callback function to get complete chunk information#10
johnd0e wants to merge 1 commit intoleafo:mainfrom
johnd0e:no-parse

Conversation

@johnd0e
Copy link
Copy Markdown
Contributor

@johnd0e johnd0e commented Apr 17, 2024

And do not demand object: "chat.completion.chunk" within the chunk object to support not fully OpenAI-compliant services

Close #5

And do not demand `object: "chat.completion.chunk"` within the chunk object
to support not fully OpenAI-compliant services
@leafo
Copy link
Copy Markdown
Owner

leafo commented Jan 20, 2026

The raw API stream handlers now pass all events. The chat client handlers currently filter events to text only ones but I plan to allow customizing what they filter to.

@leafo leafo closed this Jan 20, 2026
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.

Behavior when chunk type check not passed

2 participants