mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-19 14:04:29 +01:00
Update Chat Model to Use String IDs
This commit updates the Chat model to use string-based identifiers (id and taskId) instead of integers. This change aligns the model with the backend service, which uses string-based UUIDs for task and chat identification.
This commit is contained in:
@@ -2,8 +2,8 @@ import 'package:auto_gpt_flutter_client/models/message_type.dart';
|
||||
|
||||
/// Represents a chat message related to a specific task.
|
||||
class Chat {
|
||||
final int id;
|
||||
final int taskId;
|
||||
final String id;
|
||||
final String taskId;
|
||||
final String message;
|
||||
final DateTime timestamp;
|
||||
final MessageType messageType;
|
||||
|
||||
Reference in New Issue
Block a user