forked from Archives/langchain
Fix typo in error message (#2622)
This commit is contained in:
parent
9aed565f13
commit
166624d005
@ -223,7 +223,7 @@ class BaseOpenAI(BaseLLM):
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Could not import openai python package. "
|
"Could not import openai python package. "
|
||||||
"Please it install it with `pip install openai`."
|
"Please install it with `pip install openai`."
|
||||||
)
|
)
|
||||||
if values["streaming"] and values["n"] > 1:
|
if values["streaming"] and values["n"] > 1:
|
||||||
raise ValueError("Cannot stream results when n > 1.")
|
raise ValueError("Cannot stream results when n > 1.")
|
||||||
|
Loading…
Reference in New Issue
Block a user