Commit graph

9 commits

Author SHA1 Message Date
Krrish Dholakia
cf7e2595b8 fix(utils): adds complete streaming response to success handler 2023-10-07 15:42:00 -07:00
Krrish Dholakia
eb4c7876e2 fix get optional params 2023-10-02 12:02:53 -07:00
WilliamEspegren
ca42b4c942 if "function_call" find name 2023-09-17 19:02:50 +02:00
WilliamEspegren
4bf7272885 rebuild chunks to openAI response
Rebuild the cunks, but does not include the "usage"
2023-09-17 13:07:54 +02:00
WilliamEspegren
a5b15a77a9 append chunk to chunks 2023-09-17 10:29:09 +02:00
WilliamEspegren
3fb86f0fc9 add empty chunks list 2023-09-17 10:28:37 +02:00
WilliamEspegren
9b387cffc5 import stream_chunk_builder 2023-09-17 10:28:01 +02:00
WilliamEspegren
40850ecf53 add max_tokens 2023-09-17 10:27:32 +02:00
WilliamEspegren
684b11b456 add stream_chunk_builder function 2023-09-17 10:26:34 +02:00