mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 06:54:22 +01:00
Increase task steps page size
This commit is contained in:
@@ -47,7 +47,7 @@ class ChatViewModel with ChangeNotifier {
|
|||||||
try {
|
try {
|
||||||
// Fetch task steps from the data source
|
// Fetch task steps from the data source
|
||||||
final Map<String, dynamic> stepsResponse =
|
final Map<String, dynamic> stepsResponse =
|
||||||
await _chatService.listTaskSteps(_currentTaskId!);
|
await _chatService.listTaskSteps(_currentTaskId!, pageSize: 10000);
|
||||||
|
|
||||||
// Extract steps from the response
|
// Extract steps from the response
|
||||||
final List<dynamic> stepsJsonList = stepsResponse['steps'] ?? [];
|
final List<dynamic> stepsJsonList = stepsResponse['steps'] ?? [];
|
||||||
|
|||||||
Reference in New Issue
Block a user