Fix: remove unavailable return_preamble parameter in cohere (#3201)

Signed-off-by: Jat <jat@sinosky.org>
This commit is contained in:
Jat 2024-04-09 12:11:53 +08:00 committed by GitHub
parent 19cb3c7871
commit bae0c071cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,7 +297,6 @@ class CohereLargeLanguageModel(LargeLanguageModel):
chat_history=chat_histories,
model=real_model,
stream=stream,
return_preamble=True,
**model_parameters,
)