We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092697d commit 851fd43Copy full SHA for 851fd43
libs/partners/openai/tests/integration_tests/llms/test_azure.py
@@ -149,7 +149,7 @@ def test_openai_streaming_callback() -> None:
149
verbose=True,
150
)
151
llm.invoke("Write me a sentence with 100 words.")
152
- assert callback_handler.llm_streams == 12
+ assert callback_handler.llm_streams < 15
153
154
155
@pytest.mark.scheduled
@@ -172,5 +172,5 @@ async def test_openai_async_streaming_callback() -> None:
172
173
174
result = await llm.agenerate(["Write me a sentence with 100 words."])
175
176
assert isinstance(result, LLMResult)
0 commit comments