mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
style(azure): format request parameter filter
DEVX-829 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
parent
e254377049
commit
48712f733a
1 changed files with 1 additions and 3 deletions
|
|
@ -283,9 +283,7 @@ class AzureOpenAIConfig(BaseConfig):
|
|||
request_params: Final = {
|
||||
key: value
|
||||
for key, value in optional_params.items()
|
||||
if key != "tool_choice"
|
||||
or optional_params.get("tools")
|
||||
or optional_params.get("functions")
|
||||
if key != "tool_choice" or optional_params.get("tools") or optional_params.get("functions")
|
||||
}
|
||||
return {
|
||||
"model": model,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue