mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
lint fix
This commit is contained in:
parent
d1bd9fd987
commit
660a223663
2 changed files with 3 additions and 3 deletions
|
@ -794,7 +794,7 @@ def completion(
|
|||
return response
|
||||
response = model_response
|
||||
elif custom_llm_provider == "palm":
|
||||
api_key = (
|
||||
palm_api_key = (
|
||||
api_key
|
||||
or get_secret("PALM_API_KEY")
|
||||
or litellm.api_key
|
||||
|
@ -809,7 +809,7 @@ def completion(
|
|||
litellm_params=litellm_params,
|
||||
logger_fn=logger_fn,
|
||||
encoding=encoding,
|
||||
api_key=api_key,
|
||||
api_key=palm_api_key,
|
||||
logging_obj=logging
|
||||
)
|
||||
if "stream_tokens" in optional_params and optional_params["stream_tokens"] == True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue