feat(chatModels): load model from localstorage

This commit is contained in:
ItzCrazyKns
2024-05-02 12:14:26 +05:30
parent ed9ff3c20f
commit f618b713af
16 changed files with 126 additions and 81 deletions

View File

@ -10,9 +10,7 @@ export const initServer = (
const port = getPort();
const wss = new WebSocketServer({ server });
wss.on('connection', (ws) => {
handleConnection(ws);
});
wss.on('connection', handleConnection);
logger.info(`WebSocket server started on port ${port}`);
};