diff --git a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py index 2281ddfe6..f34dea75c 100644 --- a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py +++ b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py @@ -661,7 +661,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 = [