枚举类的使用
io.agentscope.core.message.ToolResultState
使用ToolResultState的程序包
-
io.agentscope.core.event中ToolResultState的使用
参数类型为ToolResultState的io.agentscope.core.event中的构造器限定符构造器说明ToolResultEndEvent(String replyId, String toolCallId, String toolCallName, ToolResultState state) ToolResultEndEvent(String id, String createdAt, String replyId, String toolCallId, String toolCallName, ToolResultState state) -
io.agentscope.core.message中ToolResultState的使用
修饰符和类型方法说明ToolResultBlock.getState()Gets the tool result state.static ToolResultState返回带有指定名称的该类的枚举常量。static ToolResultState[]ToolResultState.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明ToolResultBlock.Builder.state(ToolResultState state) Sets the tool result state.ToolResultBlock.withState(ToolResultState state) Returns a copy of this block with the given state.参数类型为ToolResultState的io.agentscope.core.message中的构造器限定符构造器说明ToolResultBlock(String id, String name, List<ContentBlock> output, Map<String, Object> metadata, ToolResultState state)