类 StatePersistence.Builder
java.lang.Object
io.agentscope.core.state.StatePersistence.Builder
- 封闭类:
StatePersistence
Builder for constructing StatePersistence instances with customizable settings.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Builds a new StatePersistence with the configured settings.memoryManaged(boolean managed) Sets whether to manage Memory component state.planNotebookManaged(boolean managed) Sets whether to manage PlanNotebook state.statefulToolsManaged(boolean managed) Sets whether to manage stateful Tool states.toolkitManaged(boolean managed) Sets whether to manage Toolkit activeGroups state.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
memoryManaged
Sets whether to manage Memory component state.- 参数:
managed- true to manage Memory state, false to let user manage- 返回:
- This builder for method chaining
-
toolkitManaged
Sets whether to manage Toolkit activeGroups state.- 参数:
managed- true to manage Toolkit state, false to let user manage- 返回:
- This builder for method chaining
-
planNotebookManaged
Sets whether to manage PlanNotebook state.- 参数:
managed- true to manage PlanNotebook state, false to let user manage- 返回:
- This builder for method chaining
-
statefulToolsManaged
Sets whether to manage stateful Tool states.- 参数:
managed- true to manage stateful Tool states, false to let user manage- 返回:
- This builder for method chaining
-
build
Builds a new StatePersistence with the configured settings.- 返回:
- A new StatePersistence instance
-