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

View File

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