类的使用
io.agentscope.core.tool.ToolkitConfig.Builder
使用ToolkitConfig.Builder的程序包
-
io.agentscope.core.tool中ToolkitConfig.Builder的使用
修饰符和类型方法说明ToolkitConfig.Builder.allowToolDeletion(boolean allowToolDeletion) Set whether tool deletion is allowed.static ToolkitConfig.BuilderToolkitConfig.builder()Create a new builder for ToolkitConfig.ToolkitConfig.Builder.defaultContext(ToolExecutionContext defaultContext) Set the default tool execution context for all tools.ToolkitConfig.Builder.executionConfig(ExecutionConfig executionConfig) Set the execution configuration for timeout and retry behavior.ToolkitConfig.Builder.executorService(ExecutorService executorService) Set a custom executor service for tool execution.ToolkitConfig.Builder.parallel(boolean parallel) Set whether to execute tools in parallel.