From 824136667f050a153e683b6e747f51f655f6bd6d Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 23 Nov 2023 21:44:06 -0800 Subject: [PATCH] (fix) add azure/ to model. TY Krrish ! --- litellm/llms/azure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/azure.py b/litellm/llms/azure.py index c89f10c2cc..53f0b7bef4 100644 --- a/litellm/llms/azure.py +++ b/litellm/llms/azure.py @@ -194,7 +194,7 @@ class AzureChatCompletion(BaseLLM): azure_client_params["azure_ad_token"] = azure_ad_token azure_client = AsyncAzureOpenAI(**azure_client_params) response = await azure_client.chat.completions.create(**data) - response.model = "azure" + str(response.model) + response.model = "azure/" + str(response.model) return convert_to_model_response_object(response_object=json.loads(response.model_dump_json()), model_response_object=model_response) except Exception as e: if isinstance(e,httpx.TimeoutException):