AssistantConfirmationRequest class

A blocking question or confirmation the assistant needs answered before an agent action can proceed.

The requesting agent is paused and resumes only when the answer arrives on a later StreamChatAiAssistantRequest.confirmation_response.

Constructors

AssistantConfirmationRequest({String? agentName, String? confirmationId, String? context, String? expireTime, String? negativeLabel, String? positiveLabel, List<OptionQuestionsChunkQuestion>? questions, String? tool})
AssistantConfirmationRequest.fromJson(Map json_)

Properties

agentName ↔ String?
Display label of the agent that raised the confirmation (e.g. "Contract Architect"), for the card header.
getter/setter pair
confirmationId ↔ String?
Identifier correlating this request with its response.
getter/setter pair
context ↔ String?
Context describing what is being confirmed (e.g. the action the agent wants to take, or the question it needs answered).
getter/setter pair
expireTime ↔ String?
Time after which this confirmation can no longer be answered.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
negativeLabel ↔ String?
Label for the declining action of a binary confirmation (e.g. "Not yet").
getter/setter pair
positiveLabel ↔ String?
Label for the approving action of a binary confirmation (e.g. "Publish").
getter/setter pair
questions ↔ List<OptionQuestionsChunkQuestion>?
Multi-choice form of the confirmation.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tool ↔ String?
Name of the tool call the agent paused on (e.g. "update_app"), for the card header.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited