core.checkpoint_media module
Content-addressed media blobs referenced by durable checkpoint records.
- exception core.checkpoint_media.CheckpointMediaError
Bases:
RuntimeErrorA checkpoint media reference could not be persisted or verified.
- async core.checkpoint_media.externalize_sent_files(redis, files, *, ttl_seconds)
Store raw file bytes once and return metadata-only checkpoint entries.
- async core.checkpoint_media.hydrate_sent_files(redis, files)
Resolve and verify checkpoint media references for live consumers.
- async core.checkpoint_media.externalize_message_media(redis, messages, *, ttl_seconds)
Replace inline base64 data URIs in a transcript with blob references.