fix:feat: route to config

This commit is contained in:
Ishaan Jaffer 2026-01-30 14:06:44 -08:00
parent 1e3a12a4ab
commit 4087c3b4cb

View file

@ -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: