messageDelta static method
ZorphyPatch<AgentSessionDocument>
messageDelta(
- String sessionId,
- AgentMessageDelta delta, {
- AgentSessionDocument? base,
The patch for a single message_update delta.
Pass base (the stored session) to append to the existing transcript.
Implementation
static ZorphyPatch<AgentSessionDocument> messageDelta(
String sessionId,
AgentMessageDelta delta, {
AgentSessionDocument? base,
}) => project(sessionId, [delta], base: base);