melhoramento do fall back da ia

This commit is contained in:
2026-05-16 17:41:29 +01:00
parent 321df8bb1d
commit 728368b040
2 changed files with 49 additions and 10 deletions

View File

@@ -621,6 +621,7 @@ class _TutorChatPageSimpleState extends State<TutorChatPageSimple>
_messages.clear();
});
ChatMemoryService.clearHistory();
RAGAIService.clearLastContext();
Navigator.of(dialogContext).pop();
},
child: const Text('Limpar'),
@@ -632,6 +633,7 @@ class _TutorChatPageSimpleState extends State<TutorChatPageSimple>
_messages.clear();
});
ChatMemoryService.clearHistory();
RAGAIService.clearLastContext();
Navigator.of(dialogContext).pop();
},
style: ElevatedButton.styleFrom(