Fix typo in error message (#2622)

This commit is contained in:
Jan 2023-04-09 21:25:49 +02:00 committed by GitHub
parent 9aed565f13
commit 166624d005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.")