SessionAgent class abstract

Implementers

Constructors

SessionAgent.new({required String sessionId, required AgentSession agentSession, String? systemPrompt, String taskPipelineStrategy = PipelineStrategyType.PARALLEL, dynamic timeoutSeconds = 600})

Properties

agentSession AgentSession
getter/setter pair
dispatcherMap ↔ DispatcherMap
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pipeline ↔ PipelineAsync<ContentsTask>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
getter/setter pair
systemPrompt String?
getter/setter pair
timeout ↔ Timeout
getter/setter pair

Methods

clear() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop({String? taskId = null}) → void
toAgent(AgentMessage agentMessage) Future<void>
toClient(AgentMessage sessionMessage) Future<void>
toString() String
A string representation of this object.
inherited
userToAgent({required List<Content> contentList, String? taskId, bool? stream}) Future<void>

Operators

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