An open checkpoint store, as a CheckpointerBackend returns it: the Checkpointer to build a GraphRuntime over, the store's RunQueue when it has one, and the means to close what the backend opened for them (a file, a connection pool).
The queue lives in the same database as the checkpoints and shares the checkpointer's connection pool (design 4.55), so a queue opened from application.conf repeats no store setting under llm4s.agent.queue: open the store with CheckpointerConfigLoader.open() and take runQueue from it. The built-in memory, sqlite and postgres stores all have one.
Close it when the application stops, after every runtime and worker over it has finished: close() releases the backend's resources once, and later calls do nothing. Calls to the checkpointer or the queue after close fail as the store documents.
Value parameters
kind
the llm4s.agent.checkpointer.kind the store was opened for
The store's run queue, in the same database as checkpointer - a RunSubmitter and W2's workers are built over the two - or a ConfigurationError for a store whose backend gave it none (CheckpointStore!.withRunQueue).
The store's run queue, in the same database as checkpointer - a RunSubmitter and W2's workers are built over the two - or a ConfigurationError for a store whose backend gave it none (CheckpointStore!.withRunQueue).
This store, with queue as its run queue: a backend whose store has a queue in the same database returns its open store this way. The result is the same store - closing either closes it once.
This store, with queue as its run queue: a backend whose store has a queue in the same database returns its open store this way. The result is the same store - closing either closes it once.