Live Server Session Resumption Update
@Serializable
Update of the session resumption state.
Only sent if session_resumption was set in the connection config.
Properties
Link copied to clipboard
Index of last message sent by client that is included in state represented by this SessionResumptionToken. Only sent when SessionResumptionConfig.transparent is set.
Link copied to clipboard
True if session can be resumed at this point. It might be not possible to resume session at some points. In that case we send update empty new_handle and resumable=false. Example of such case could be model executing function calls or just generating. Resuming session (using previous session token) in such state will result in some data loss.