Mode

@Serializable
value class Mode(val value: String) : ToolChoice

Represents a function call mode.

  • "none" means the model will not call a function and instead generates a message.

  • "auto" means the model can pick between generating a message or calling a function.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard