类的使用
io.agentscope.core.interruption.InterruptContext.Builder
使用InterruptContext.Builder的程序包
-
io.agentscope.core.interruption中InterruptContext.Builder的使用
修饰符和类型方法说明static InterruptContext.BuilderInterruptContext.builder()Create a new builder for InterruptContext.InterruptContext.Builder.pendingToolCalls(List<ToolUseBlock> pendingToolCalls) Set the pending tool calls at the time of interruption.InterruptContext.Builder.source(InterruptSource source) Set the source of the interruption.Set the timestamp of the interruption.InterruptContext.Builder.userMessage(Msg userMessage) Set the user message that triggered the interruption.