-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix streaming for function & tool chat completions (#43)
* Fix streaming for function & tool chat completions This fixes the logic for merging chat completion chunks when streaming is used with responses that contain function or tool calls. * Clean up the code a bit
- Loading branch information
1 parent
16946ac
commit 0300984
Showing
1 changed file
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters