=== Granular item operations === AddMessage adds a message to a session at the next position. Returns the ID of the created message item.
(ctx context.Context, sessionID string, msg *Message)
| 100 | // AddMessage adds a message to a session at the next position. |
| 101 | // Returns the ID of the created message item. |
| 102 | AddMessage(ctx context.Context, sessionID string, msg *Message) (int64, error) |
| 103 | |
| 104 | // UpdateMessage updates an existing message by its ID. |
| 105 | // This is called on each streaming delta to keep the persisted message |
no outgoing calls