mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(azure.py): fix optional param elif statement
This commit is contained in:
parent
25de96f9e6
commit
5c1a5978f9
2 changed files with 5 additions and 4 deletions
|
@ -287,7 +287,7 @@ def test_azure_tool_choice(api_version):
|
|||
else:
|
||||
assert (
|
||||
"tool_choice" not in optional_params
|
||||
), "tool_choice={} for api version={}".format(
|
||||
), "tool choice should not be present. Got - tool_choice={} for api version={}".format(
|
||||
optional_params["tool_choice"], api_version
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue