requestFailedMessages

abstract fun requestFailedMessages(block: RequestFailedMessages.() -> Unit)

This message is triggered when the tool call fails and will be spoken to the user.
This message is never triggered for async tool calls.
If this message is not provided, the model will be requested to respond.
If this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.