mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-02 13:54:31 +01:00
Update Task Model to Use String IDs
This commit updates the Task model to use string-based identifiers (id) instead of integers. The change aligns the model with the backend service, which uses string-based UUIDs for task identification.
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user