mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-30 09:17:51 +08:00
* fix(ov_dream): accept a message whose content is a plain string (#4221) parse_messages() assumed every OpenClaw message body was a block list. Iterating a plain string yields characters, so `"p".get("type")` raised AttributeError out of the parser — before any session was committed, which made one such message disable the skill for the whole workspace rather than skip that message. The reporter measured 91 string bodies in 1609 real messages. Flatten the body through a helper that treats a string as text and skips blocks that are not dicts. * test(ov_dream): consolidate string content coverage --------- Co-authored-by: qin-ctx <qinhaojie.exe@bytedance.com>