Skip to content

Commit

Permalink
Special handling for Azure OpenAI: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoChenOSU committed Sep 25, 2024
1 parent 3a5f8be commit c7298c5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,5 @@ async def test_cmc_streaming(
mock_create.assert_awaited_once_with(
model=azure_openai_unit_test_env["AZURE_OPENAI_CHAT_DEPLOYMENT_NAME"],
stream=True,
stream_options={"include_usage": True},
messages=azure_chat_completion._prepare_chat_history_for_request(chat_history),
)

0 comments on commit c7298c5

Please sign in to comment.