[Bug]: 更新1.9之后原来的会话报错
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
- 更新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
下个版本会修复
刚才更新了1.10 旧会话还是空白的,历史对话丢失情况也有
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.