Snapshot¶
A snapshot (ConversationSnapshot) is the frozen conversation under explanation: an ordered tuple of Turn objects plus a snapshot_id. from_turns derives the id from a SHA-256 over every Message (role and text for text-only messages, every part otherwise), so rendering a coalition produces a new snapshot with a new id. from_json and to_json read and write the text form the command line uses.
Package: domain.