NmAgentAction class

An action the agent is about to run.

Annotations

Constructors

NmAgentAction({required String id, required String prompt, String? summary, num? cost, String? kind})
Creates an NmAgentAction.
const

Properties

cost → num?
Estimated cost in the app's currency units (formatted by the app).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable id of the action.
final
kind → String?
App-defined action kind (opaque to the library).
final
prompt → String
What the user asked for.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → String?
Short human description of the work ("Checking domains").
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