Uses of Class
com.google.genkit.ai.agent.FileSessionStore.Builder
Packages that use FileSessionStore.Builder
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of FileSessionStore.Builder in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return FileSessionStore.BuilderModifier and TypeMethodDescriptionstatic <S> FileSessionStore.Builder<S> Creates a builder forFileSessionStore.FileSessionStore.Builder.maxPersistedChainLength(int maxPersistedChainLength) Sets the maximum number of snapshot files to retain in the parent chain.Sets the prefix sub-directory (default"global").FileSessionStore.Builder.rejectBranchingSessions(boolean rejectBranchingSessions) Iftrue,LeafSelection.selectLeaf(java.util.List<com.google.genkit.ai.agent.SessionSnapshot<S>>, boolean)throws when more than one leaf exists for a session.FileSessionStore.Builder.snapshotWatchPollIntervalMs(long ms) Sets the polling interval for snapshot-change subscriptions (default 2000 ms).