forked from Archives/langchain
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:
parent
a71a2c0eb2
commit
04e1d6c699
@ -217,12 +217,8 @@ class BaseOpenAI(BaseLLM):
|
|||||||
|
|
||||||
openai.api_key = openai_api_key
|
openai.api_key = openai_api_key
|
||||||
if openai_api_base:
|
if openai_api_base:
|
||||||
print("USING API_BASE: ")
|
|
||||||
print(openai_api_base)
|
|
||||||
openai.api_base = openai_api_base
|
openai.api_base = openai_api_base
|
||||||
if openai_organization:
|
if openai_organization:
|
||||||
print("USING ORGANIZATION: ")
|
|
||||||
print(openai_organization)
|
|
||||||
openai.organization = openai_organization
|
openai.organization = openai_organization
|
||||||
values["client"] = openai.Completion
|
values["client"] = openai.Completion
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user