mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
test(test_async_fn.py): adding more logging
This commit is contained in:
parent
b798d7de89
commit
75736cb852
1 changed files with 3 additions and 0 deletions
|
@ -416,6 +416,9 @@ def completion(
|
|||
or None # default - https://github.com/openai/openai-python/blob/284c1799070c723c6a553337134148a7ab088dd8/openai/util.py#L105
|
||||
)
|
||||
# set API KEY
|
||||
print_verbose(
|
||||
f"api_key: {api_key}; dynamic_api_key: {dynamic_api_key}; litellm.api_key: {litellm.api_key}; litellm.openai_key: {litellm.openai_key}"
|
||||
)
|
||||
api_key = (
|
||||
api_key or
|
||||
dynamic_api_key or # allows us to read env variables for compatible openai api's like perplexity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue