AiAgent class

Constructors

AiAgent({required AiClient client, required String description, List<Tool> tools = const [], Logger? logger, List<Message>? history})

Properties

client AiClient
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tools List<Tool>
final

Methods

addIntoHistory(Message message) → void
clearHistory() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(Message message, {List<Context> context = const []}) Future<Message>
showHistory() → void
toString() String
A string representation of this object.
inherited

Operators

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