fix(files/main.py): pass litellm params to azure route

This commit is contained in:
Krrish Dholakia 2025-04-11 19:01:29 -07:00
parent 32ec7e27f8
commit 8b09a2721f
3 changed files with 24 additions and 3 deletions

View file

@ -3121,13 +3121,18 @@ class Router:
elif call_type in (
"anthropic_messages",
"aresponses",
"afile_delete",
"afile_content",
):
return await self._ageneric_api_call_with_fallbacks(
original_function=original_function,
**kwargs,
)
elif call_type in ("afile_delete", "afile_content"):
return await self._ageneric_api_call_with_fallbacks(
original_function=original_function,
custom_llm_provider=custom_llm_provider,
client=client,
**kwargs,
)
return async_wrapper