chatWithToolsBackground abstract method
Create a response with background processing
When background=true, the response will be processed asynchronously. You can retrieve the result later using getResponse() or cancel it with cancelResponse().
Implementation
Future<ChatResponse> chatWithToolsBackground(
List<ChatMessage> messages,
List<Tool>? tools,
);