feat: improve prompts

This commit is contained in:
Udhay-Adithya
2025-09-05 16:41:35 +05:30
parent 7e13a48199
commit 6bbbe6ccc3
5 changed files with 175 additions and 211 deletions

View File

@@ -1,4 +1,5 @@
import '../view/widgets/chat_bubble.dart';
/// Role of a chat message author.
enum MessageRole { user, system }
class ChatState {
final Map<String, List<ChatMessage>> chatSessions; // requestId -> messages