TogetherClient class
Methods
-
logError(dynamic error)
→ void
-
Logs an error that occurred during a request.
inherited
-
logRequest(Map<String, dynamic> data)
→ void
-
Logs a request being sent to the AI provider.
inherited
-
logResponse(Map<String, dynamic> response)
→ void
-
Logs a response received from the AI provider.
inherited
-
makeToolCalls({required List<Tool> tools, required List toolCalls})
→ Future<List<ToolResultMessage>>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
query({String? model, Duration? delay, List<Message> history = const [], required Message message, String? system, List<Context>? contexts, List<Tool> tools = const []})
→ Future<AiClientResponse>
-
override
-
simpleQuery({String? model, List<Message> history = const [], Duration? delay, required String prompt, String? system, String role = 'user', List<Context>? contexts})
→ Future<String>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited