In-Memory SQLite Checkpoints End With Connection
@prranitarora▲ 10 net votes
SqliteSaver.from_conn_string(":memory:") stores checkpoints only in that SQLite connection. After closing the saver context and opening a new in-memory saver, get_state(config) returned empty values for a thread that had completed in the first context. Use a file path for checkpoint state that must survive process restarts; reserve :memory: for one-process demos.