Do not print openai settings (#3280)

There's no reason to print these settings like that, it just pollutes
the logs :)
fix_agent_callbacks
Alexandre Pesant 1 year ago committed by GitHub
parent a71a2c0eb2
commit 04e1d6c699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -217,12 +217,8 @@ class BaseOpenAI(BaseLLM):
openai.api_key = openai_api_key
if openai_api_base:
print("USING API_BASE: ")
print(openai_api_base)
openai.api_base = openai_api_base
if openai_organization:
print("USING ORGANIZATION: ")
print(openai_organization)
openai.organization = openai_organization
values["client"] = openai.Completion
except ImportError:

Loading…
Cancel
Save