pub fn update_fields(
message: &AgentMessage,
event: &AssistantMessageEvent,
) -> (Value, Value)Expand description
What a message_update lane-watch event carries (Rust-only; protocol::watch::stream_fold folds it): the provider frame,
without its partial message, a tool call’s start naming the call; and the usage so far. Never the message: the
response so far, sent once per delta, made streaming quadratic in its length.