类的使用
io.agentscope.core.plan.PlanNotebook.Builder
使用PlanNotebook.Builder的程序包
-
io.agentscope.core.plan中PlanNotebook.Builder的使用
修饰符和类型方法说明static PlanNotebook.BuilderPlanNotebook.builder()Creates a new builder for constructing PlanNotebook instances.Sets the key prefix for state storage.PlanNotebook.Builder.maxSubtasks(int maxSubtasks) Sets the maximum number of subtasks allowed per plan.PlanNotebook.Builder.needUserConfirm(boolean needUserConfirm) Sets whether to include "wait for user confirmation" rule in hints.PlanNotebook.Builder.planToHint(PlanToHint planToHint) Sets the strategy for converting plans to hints.PlanNotebook.Builder.storage(PlanStorage storage) Sets the storage backend for persisting historical plans.