backend: separate App and server, add websocket endpoint, accept data directory command argument. initialize sqlalchemy database and models in new module. frontend: create backend class for managing ws connection, move ui to chat_screen, create scaffold chat and agent classes.

This commit is contained in:
Shivering Ocelot committed 2025-05-06 17:50:57 -05:00
1 parent 1e82796db1
commit 44f0b3589c
19 files changed
+936 -122

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import 'chat.dart';
class Agent {
void receivedChatMessage(Chat chat, String message) {
// Simple response from the agent
String responseMessage = "Agent received: " + message;
chat.addAgentMessage(responseMessage);
}
}