mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-09 21:08:59 +00:00
feat: call xunfei spark with stream, and fix the temperature bug (#2121)
Co-authored-by: aries_ckt <916701291@qq.com>
This commit is contained in:
@@ -232,7 +232,8 @@ class BaseChat(ABC):
|
||||
)
|
||||
node = AppChatComposerOperator(
|
||||
model=self.llm_model,
|
||||
temperature=float(self.prompt_template.temperature),
|
||||
temperature=self._chat_param.get("temperature")
|
||||
or float(self.prompt_template.temperature),
|
||||
max_new_tokens=int(self.prompt_template.max_new_tokens),
|
||||
prompt=self.prompt_template.prompt,
|
||||
message_version=self._message_version,
|
||||
|
Reference in New Issue
Block a user