From 4722dc73ae226f21108812a16fe2a5496aac9343 Mon Sep 17 00:00:00 2001 From: Ari Roffe Date: Tue, 26 Mar 2024 16:30:50 -0500 Subject: [PATCH] Update providers.py (#691) --- packages/jupyter-ai-magics/jupyter_ai_magics/providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py index f27831e87..821a7afa5 100644 --- a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py +++ b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py @@ -706,7 +706,7 @@ class AzureChatOpenAIProvider(BaseProvider, AzureChatOpenAI): model_id_key = "deployment_name" model_id_label = "Deployment name" pypi_package_deps = ["openai"] - auth_strategy = EnvAuthStrategy(name="OPENAI_API_KEY") + auth_strategy = EnvAuthStrategy(name="AZURE_OPENAI_API_KEY") registry = True fields = [