类的使用
io.agentscope.core.tool.ToolExecutionContext.Builder
-
io.agentscope.core.tool中ToolExecutionContext.Builder的使用
修饰符和类型方法说明ToolExecutionContext.Builder.addStore(ContextStore store) Adds a single store to the store list.static ToolExecutionContext.BuilderToolExecutionContext.builder()Creates a new builder for constructing ToolExecutionContext instances.Registers an object with explicit type (e.g., by interface).Registers an object by its runtime type (singleton pattern).Registers an object with key and type (multi-instance pattern).Registers an object with key (type inferred from runtime).