ToolMessageFailedDto

@Serializable
class ToolMessageFailedDto(var content: String = "", val conditions: MutableSet<ToolMessageCondition> = mutableSetOf(), var endCallAfterSpokenEnabled: Boolean? = null) : AbstractToolMessageDto, ToolMessageFailedProperties, CommonToolMessageDto(source)

Constructors

Link copied to clipboard
constructor(content: String = "", conditions: MutableSet<ToolMessageCondition> = mutableSetOf(), endCallAfterSpokenEnabled: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override var content: String

This is the content that the assistant says when this message is triggered.

Link copied to clipboard

This is an optional boolean that if true, the call will end after the message is spoken. Default is false.

Link copied to clipboard
@EncodeDefault
val type: ToolMessageType

Functions

Link copied to clipboard