Browse Source

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

Signed-off-by: Jat <jat@sinosky.org>
tags/0.6.1
Jat 1 year ago
parent
commit
bae0c071cd
No account linked to committer's email address
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 View File

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


Loading…
Cancel
Save