记录类 ToolChoice.Auto
java.lang.Object
java.lang.Record
io.agentscope.core.model.ToolChoice.Auto
- 所有已实现的接口:
ToolChoice
- 封闭接口:
ToolChoice
Auto mode: Let the model decide whether and which tools to call.
This is the default behavior when toolChoice is not specified.
-
嵌套类概要
从接口继承的嵌套类/接口 io.agentscope.core.model.ToolChoice
ToolChoice.Auto, ToolChoice.None, ToolChoice.Required, ToolChoice.Specific -
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Auto
public Auto()创建Auto记录类的实例。
-
-
方法详细资料
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。
-