Merge pull request #128 from xerrors/fix-126

fix deepseek-reasoning error cause same user message deepseek-reasone…
This commit is contained in:
Wenjie Zhang 2025-04-04 18:31:07 +08:00 committed by GitHub
commit c6fb5263d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
}