fix: keep agent streams alive during long tasks

This commit is contained in:
Hamza Ayed
2026-10-04 13:41:22 +03:00
parent ad221e24aa
commit d1010b79d7
11 changed files with 334 additions and 37 deletions
@@ -508,7 +508,7 @@ class ApiRepository {
headers: await _userHeaders(),
body: jsonEncode({'workspace_path': workspacePath, 'files': files}),
)
.timeout(const Duration(minutes: 2));
.timeout(const Duration(minutes: 5));
_checkStatus(response);
return jsonDecode(response.body) as Map<String, dynamic>;
}