EventEncoder._encode_sse uses module_dump_json to return data. When the event type is AgentResponseUpdate, AgentResponseUpdate fails to serialize/export.