litellm/tests/test_litellm/passthrough
mateo-berri 512e730f2f fix(azure_ai): add passthrough config so router-model relays reach the deployment's own endpoint
Every /azure_ai/<router model>/<native path> relay failed with HTTP 500 because
azure_ai had no passthrough config. The new AzureAIPassthroughConfig strips the
router-model prefix from the relayed path, forwards to the deployment's api_base
with its own credential (api-key on Foundry and Azure OpenAI hosts, Bearer
elsewhere, Entra as the fallback), and delegates chat/completions cost logging
to the Azure passthrough config.

The router's provider inference now receives the deployment's api_base so an
OpenAI-family model on a Foundry resource stays azure_ai instead of flipping to
azure through the AZURE_AI_API_BASE env var.
2026-09-04 21:30:48 -07:00
..
__init__.py fix(passthrough): propagate Azure 429/5xx errors in async streaming instead of silent HTTP 200 (#22913) 2026-03-05 10:12:43 -08:00
test_async_streaming_error_propagation.py fix(passthrough): keep upstream error body readable for streaming error status mapping 2026-08-30 12:59:18 -07:00
test_passthrough_main.py fix(azure_ai): add passthrough config so router-model relays reach the deployment's own endpoint 2026-09-04 21:30:48 -07:00
test_streaming_interrupt_spend_tracking.py Merge branch 'litellm_internal_staging' into feature/improve-gigachat-provider 2026-08-23 09:40:28 +00:00