mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(utils.py): fix streaming logic
This commit is contained in:
parent
4e608c86c1
commit
4ba18f9932
3 changed files with 87 additions and 31 deletions
|
@ -124,11 +124,12 @@ def test_parallel_function_call():
|
|||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
test_parallel_function_call()
|
||||
# test_parallel_function_call()
|
||||
|
||||
|
||||
def test_parallel_function_call_stream():
|
||||
try:
|
||||
litellm.set_verbose = True
|
||||
# Step 1: send the conversation and available functions to the model
|
||||
messages = [
|
||||
{
|
||||
|
@ -217,4 +218,4 @@ def test_parallel_function_call_stream():
|
|||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
test_parallel_function_call_stream()
|
||||
# test_parallel_function_call_stream()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue