ToolCallStuckEvent class final
A stuck-call follow-up transition (gh-1054): the threshold fired and the supervisor acted — advised, cancelled+retried, background-converted, or escalated. Session-visible so a hung call never dies silently.
- Inheritance
-
- Object
- AgentEvent
- ToolCallStuckEvent
Constructors
-
ToolCallStuckEvent({required String toolCallId, required String toolName, required Map<
String, dynamic> args, required Duration elapsed, required StuckFollowUpAction action, String detail = '', required DateTime timestamp}) -
const
Properties
- action → StuckFollowUpAction
-
The follow-up action taken.
final
-
args
→ Map<
String, dynamic> -
The parsed tool call arguments.
final
- detail → String
-
Human-readable detail (the reason, or the partial-output pointer for
an escalation).
final
- elapsed → Duration
-
How long the call had run when the action fired.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the action fired.
final
- toolCallId → String
-
The ToolCall.id that was stuck.
final
- toolName → String
-
The tool's name.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited