litellm/tests/test_litellm/llms/azure_ai
Cesar Garcia 97be0da0d2
fix(azure_ai): Remove unsupported params from Azure AI Anthropic requests (#17822)
* fix(azure_ai): Remove unsupported params from Azure AI Anthropic requests

Azure AI Anthropic endpoint rejects max_retries and stream_options parameters
with "Extra inputs are not permitted" error. These are LiteLLM-internal
parameters that should not be sent to the API.

Fixes 400 Bad Request error when using azure_ai/claude-sonnet-4-5 and other
Azure AI Anthropic models.

* test(azure_ai): Add test for unsupported params removal in Azure AI Anthropic

Verifies that max_retries, stream_options, and extra_body are properly
removed from the request before sending to Azure AI Anthropic endpoint.
2025-12-11 08:09:13 -08:00
..
chat Removed stop param from unsupported azure models (#15229) 2025-10-06 19:56:18 -07:00
claude fix(azure_ai): Remove unsupported params from Azure AI Anthropic requests (#17822) 2025-12-11 08:09:13 -08:00
image_edit add unit test 2025-09-23 01:57:50 +00:00