Browse Source

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

Signed-off-by: Jat <jat@sinosky.org>
Jat 1 year ago
parent
commit
bae0c071cd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      api/core/model_runtime/model_providers/cohere/llm/llm.py

+ 0 - 1
api/core/model_runtime/model_providers/cohere/llm/llm.py

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