Class ToolResultEvictionConfig.Builder
java.lang.Object
io.agentscope.harness.agent.memory.compaction.ToolResultEvictionConfig.Builder
- Enclosing class:
- ToolResultEvictionConfig
Builder for
ToolResultEvictionConfig.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()evictionPath(String evictionPath) Sets the root filesystem path prefix for evicted files.excludedToolNames(Set<String> excludedToolNames) Replaces the default set of excluded tool names.maxResultChars(int maxResultChars) Sets the character threshold above which eviction is triggered.previewChars(int previewChars) Sets how many characters to include in the head/tail preview.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxResultChars
Sets the character threshold above which eviction is triggered. -
previewChars
Sets how many characters to include in the head/tail preview. -
evictionPath
Sets the root filesystem path prefix for evicted files. -
excludedToolNames
Replaces the default set of excluded tool names. -
build
-