Skip to content

Commit

Permalink
feat: Implement streaming for Functionary v2 + Bug fixes (#1419)
Browse files Browse the repository at this point in the history
* set up streaming for v2

* assert v2 streaming, fix tool_call vs function_call

* fix streaming with tool_choice/function_call

* make functions return 1 function call only when 'auto'

* fix

---------

Co-authored-by: Andrei <abetlen@gmail.com>
  • Loading branch information
jeffrey-fong and abetlen authored May 4, 2024
1 parent f9b7221 commit 1f56c64
Showing 1 changed file with 443 additions and 133 deletions.
Loading

0 comments on commit 1f56c64

Please sign in to comment.