mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(files/main.py): pass litellm params to azure route
This commit is contained in:
parent
32ec7e27f8
commit
8b09a2721f
3 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue