AgentService class
Methods
-
clearSession(String sessionId)
→ Future<void>
-
-
clientDriverCallback(String sessionId, ToolReturn toolReturn)
→ void
-
-
fetchClientDriver(String sessionId, ClientDriver clientDriver)
→ void
-
-
getCacheHistory(String sessionId)
→ Future<List<AgentMessageDto>?>
-
-
initSession(CapabilityDto capabilityDto, void listen(String sessionId, AgentMessageDto agentMessageDto), {Map<String, OpenToolDriver>? opentoolDriverMap, List<ToolDriver>? customToolDriverList, void listenChunk(String sessionId, AgentMessageChunkDto agentMessageChunkDto)?})
→ Future<SessionDto>
-
-
initSimple(SimpleCapabilityDto simpleCapabilityDto)
→ Future<SessionDto>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
startSession(String sessionId, UserTaskDto userTaskDto)
→ Future<void>
-
-
startSimple(String sessionId, UserTaskDto userTaskDto)
→ Future<AgentMessageDto>
-
-
stopSession(SessionTaskDto sessionTaskDto)
→ Future<void>
-
-
testLLMConfig(String baseUrl, String apiKey)
→ Future<bool>
-
-
toString()
→ String
-
A string representation of this object.
inherited