org.llm4s.agent.graph.postgres.PostgresCheckpointerBackend
See thePostgresCheckpointerBackend companion object
@Experimental
final class PostgresCheckpointerBackend extends CheckpointerBackend
Registers PostgresCheckpointer for llm4s.agent.checkpointer.kind = postgres (design 4.54).
Declared in this module's META-INF/services/org.llm4s.agent.graph.spi.CheckpointerBackend, so depending on llm4s-agent-checkpoint-postgres is all it takes. It opens the store over a HikariCP pool of its own (PostgresCheckpointer.open) from llm4s.agent.checkpointer.postgres, whose defaults and bindings are in this module's reference.conf:
url(LLM4S_CHECKPOINTER_POSTGRES_URL),jdbc:postgresql://host:port/database, anduser(LLM4S_CHECKPOINTER_POSTGRES_USER): required;password(LLM4S_CHECKPOINTER_POSTGRES_PASSWORD): unset for none; never logged or put in an error;schema,callTimeout,connectionTimeout,maxPoolSize: PostgresCheckpointerConfig's, with its defaults.
A class rather than an object because java.util.ServiceLoader instantiates it through a public no-arg constructor.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article