style(azure): format request parameter filter

DEVX-829

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
David Steele 2026-09-17 07:30:06 +01:00
parent e254377049
commit 48712f733a
No known key found for this signature in database
GPG key ID: E05974C8AE501FC6

View file

@ -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,