AgentAction class

Agent's action to take.

Inheritance

Constructors

AgentAction({required String id, required String tool, required Map<String, dynamic> toolInput, String log = '', List<ChatMessage> messageLog = const []})
Agent's action to take.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The id for the action.
final
log → String
The log of the action.
final
messageLog → List<ChatMessage>
The log of the messages.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tool → String
The name of the tool to use.
final
toolInput → Map<String, dynamic>
The input to the tool.
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