From c074023e14604c59e1837d9ebd9f729a50d50f29 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 23 Nov 2023 13:47:43 -0800 Subject: [PATCH] fix: fix linting issues --- litellm/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index a6bb673b12..d096c5b7d8 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -530,7 +530,6 @@ def completion( # set API KEY api_key = ( api_key or # for deepinfra/perplexity/anyscale we check in get_llm_provider and pass in the api key from there - dynamic_api_key or # allows us to read env variables for compatible openai api's like perplexity litellm.api_key or litellm.openai_key or get_secret("OPENAI_API_KEY")