Skip to content

Commit

Permalink
Fix: remove unavailable return_preamble parameter in cohere (langgeni…
Browse files Browse the repository at this point in the history
…us#3201)

Signed-off-by: Jat <jat@sinosky.org>
  • Loading branch information
jat001 authored and dengpeng committed Jun 16, 2024
1 parent 00be015 commit da29a95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/core/model_runtime/model_providers/cohere/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ def _chat_generate(self, model: str, credentials: dict,
chat_history=chat_histories,
model=real_model,
stream=stream,
return_preamble=True,
**model_parameters,
)

Expand Down

0 comments on commit da29a95

Please sign in to comment.