refactor entire frontend

This commit is contained in:
Shivering Ocelot committed 2025-05-14 18:25:50 -05:00
1 parent 49df72f2a1
commit 7b3326524e
17 files changed
+546 -96

No files matched your search

+5 -1
View File
@@ -1,6 +1,6 @@
const WebSocket = require('ws');
const USE_LLM = false;
const USE_LLM = true;
const ws = new WebSocket('ws://localhost:5000/ws');
var nonceCounter = 1;
@@ -113,5 +113,9 @@ async function testChats () {
}
});
console.log('Incoming:', await waitMessage());
console.log('Messages in Chat', chat.id, await send('get-chat-messages', {
body: {chatId: chat.id}
}));
}
}