mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-20 08:18:16 +00:00
When aembedding=True, api_version was not passed to self.aembedding(), causing get_azure_openai_client() to receive None instead of "v1". This made _is_azure_v1_api_version() return False, so AsyncAzureOpenAI was selected instead of AsyncOpenAI, constructing the wrong request URL and returning 404. Fixes #24848 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>