mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-03-02 04:24:11 +08:00
00822770ec
sjson.SetRaw with an empty string produces malformed JSON (e.g. "result":}). This happens when a Claude tool_result block has no content field, causing functionResponseResult.Raw to be "". Guard against this by falling back to sjson.Set with an empty string only when .Raw is empty.
00822770ec
ยท
2026-02-19 17:08:39 +07:00
History