litellm/tests/unit/llms/azure_ai/embed
AaronHowell d3d649dac4
fix(azure_ai): use the v1 chat path for Azure OpenAI resource bases (#52759)
* fix(azure_ai): use the v1 chat path for Azure OpenAI resource bases

Co-authored-by: Bytechoreographer <Bytechoreographer@users.noreply.github.com>

* fix(azure_ai): route preview and latest api-versions and cognitiveservices resource bases to the v1 chat path

* fix(azure_ai): route services.ai /openai bases to the v1 chat path

* fix(azure_ai): send dated api-versions to the deployments route and resource-base embeddings to /openai/v1

* fix(azure_ai): strip the model_router prefix on the deployments route and drop the base query for resource-base embeddings

* fix(azure_ai): reject deployment names that are not one URL path segment on the deployments route and keep image embeddings on their old base

---------

Co-authored-by: Bytechoreographer <Bytechoreographer@users.noreply.github.com>
Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-19 20:12:55 -08:00
..
__init__.py
test_azure_ai_cohere_transformation.py test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00
test_azure_ai_embed_handler.py fix(azure_ai): use the v1 chat path for Azure OpenAI resource bases (#52759) 2026-11-19 20:12:55 -08:00