Required
record Required() implements ToolChoice
源码Source
io/agentscope/core/model/ToolChoice.java:64承载必填数据的记录类型。位于 io.agentscope.core.model 包,实现 ToolChoice。
Required mode: Force the model to call at least one tool. The model chooses which tool(s) to call based on the context.