Do not print openai settings (#3280)

There's no reason to print these settings like that, it just pollutes
the logs :)
This commit is contained in:
Alexandre Pesant 2023-04-21 10:20:17 +02:00 committed by GitHub
parent a71a2c0eb2
commit 04e1d6c699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: