DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

[Bug]: 更新1.9之后原来的会话报错

Open fundoop opened this issue 5 months ago • 2 comments

Version line

v2 — Go rewrite (1.x), main-v2 (active development)

Exact version

1.9.1

What happened?

更新后继续历史对话会报错 Malformed request (HTTP 400): the request body was rejected. This is likely a bug — please report it if it persists. Failed to deserialize the JSON body into the target type: messages[2]: missing field name at line 1 column 5940

新会话毫无影响

Steps to reproduce

  1. 更新v1.9.1 2.找到历史会话继续,发现以上报错

OS / platform

macOS 15.7.7

Relevant logs or output

Malformed request (HTTP 400): the request body was rejected. This is likely a bug — please report it if it persists. Failed to deserialize the JSON body into the target type: messages[2]: missing field `name` at line 1 column 5940

fundoop avatar Jun 19 '26 02:06 fundoop

下个版本会修复

CVEngineer66 avatar Jun 19 '26 11:06 CVEngineer66

刚才更新了1.10 旧会话还是空白的,历史对话丢失情况也有

hippo798 avatar Jun 20 '26 04:06 hippo798

This should be fixed on current releases. The missing field \name`rejection on old-session replay was fixed by #4727 (backfill empty tool-call names/arguments from old sessions), and history normalization was later unified into a singleNormalizeMessages` entry point, which covers this class of malformed-replay errors. Please update to the latest release and reopen if it still happens with a current version.

esengine avatar Aug 04 '26 14:08 esengine