Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update Task Model to Use String IDs

hunteraraujo1c862be18ac9
diff --git a/lib/models/task.dart b/lib/models/task.dart
index a8ddd36daa..970a9bf074 100644
--- a/lib/models/task.dart
+++ b/lib/models/task.dart
@@ -1,6 +1,6 @@
/// Represents a task or topic the user wants to discuss with the agent.
class Task {
- final int id;
+ final String id;
String _title;
Task({required this.id, required String title})