mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
fix:feat: route to config
This commit is contained in:
parent
1e3a12a4ab
commit
4087c3b4cb
1 changed files with 2 additions and 3 deletions
|
|
@ -7914,9 +7914,8 @@ class ProviderConfigManager:
|
|||
@staticmethod
|
||||
def _get_azure_ai_config(model: str) -> BaseConfig:
|
||||
"""Get Azure AI config based on model type."""
|
||||
if "claude" in model.lower():
|
||||
return litellm.AzureAnthropicConfig()
|
||||
return litellm.AzureAIStudioConfig()
|
||||
from litellm.llms.azure_ai.common_utils import AzureFoundryModelInfo
|
||||
return AzureFoundryModelInfo.get_azure_ai_config_for_model(model)
|
||||
|
||||
@staticmethod
|
||||
def _get_vertex_ai_config(model: str) -> BaseConfig:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue