From 224a028ab6b3fa8e26922ee0fcdc95856792df0a Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 28 Nov 2023 08:05:54 -0800 Subject: [PATCH] (fix) completion: AZURE_OPENAI_API_KEY --- litellm/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/main.py b/litellm/main.py index f5777f0e0f..28464b5208 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -460,6 +460,7 @@ def completion( api_key or litellm.api_key or litellm.azure_key or + get_secret("AZURE_OPENAI_API_KEY") or get_secret("AZURE_API_KEY") )