Merge pull request #128 from xerrors/fix-126
fix deepseek-reasoning error cause same user message deepseek-reasone…
This commit is contained in:
commit
c6fb5263d9
@ -434,7 +434,7 @@ const fetchChatResponse = (user_input, cur_res_id) => {
|
||||
|
||||
const params = {
|
||||
query: user_input,
|
||||
history: getHistory(),
|
||||
history: getHistory().slice(0, -1), // 去掉最后一条刚添加的用户消息,
|
||||
meta: meta,
|
||||
cur_res_id: cur_res_id,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user