#5104·OpenViking

[错误]: 当存在 peer_id 时, Event ChatLog 会丢弃消息角色

作者: n0ffn0ff创建于 2026年9月16日更新于 2026年9月17日
标签bug

This is a reproducible bug in OpenViking 0.4.20. When a captured message has both `role` and `peer_id`, the ChatLog renderer only uses `peer_id`. In Codex workspace capture, user and assistant messages share the workspace peer, so durable event memory labels both sides as the same speaker and loses who actually produced each message. Raw session data still contains the correct roles, so this is an extraction/rendering attribution defect, not a capture defect.

内容来源: volcengine/OpenViking