mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
with verbose secretmanager
This commit is contained in:
parent
41535ec314
commit
068930f81a
4 changed files with 6 additions and 15 deletions
|
@ -93,6 +93,7 @@ def completion(
|
|||
openai.organization = litellm.organization
|
||||
# set API KEY
|
||||
openai.api_key = api_key or litellm.openai_key or get_secret("OPENAI_API_KEY")
|
||||
print(f"value of set openai key {openai.api_key}")
|
||||
|
||||
## LOGGING
|
||||
logging(model=model, input=messages, additional_args=args, custom_llm_provider=custom_llm_provider, logger_fn=logger_fn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue