forked from phoenix/litellm-mirror
refactor(test_stream_chunk_builder.py): fix import
This commit is contained in:
parent
5ad01e59f6
commit
dd2c0abd33
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ import pytest
|
|||
from openai import OpenAI
|
||||
|
||||
import litellm
|
||||
import litellm.tests.stream_chunk_testdata
|
||||
from tests.local_testing import stream_chunk_testdata
|
||||
from litellm import completion, stream_chunk_builder
|
||||
|
||||
dotenv.load_dotenv()
|
||||
|
@ -200,7 +200,7 @@ def test_stream_chunk_builder_litellm_usage_chunks():
|
|||
|
||||
|
||||
def test_stream_chunk_builder_litellm_mixed_calls():
|
||||
response = stream_chunk_builder(litellm.tests.stream_chunk_testdata.chunks)
|
||||
response = stream_chunk_builder(stream_chunk_testdata.chunks)
|
||||
assert (
|
||||
response.choices[0].message.content
|
||||
== "To answer your question about how many rows are in the 'users' table, I'll need to run a SQL query. Let me do that for you."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue