We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ba8e9 commit 121e2bbCopy full SHA for 121e2bb
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "gptscript-operator",
3
- "version": "0.1.1",
+ "version": "0.1.2",
4
"main": "index.js",
5
"license": "MIT",
6
"type": "module",
src/modules/ChatHandler.ts
@@ -51,9 +51,9 @@ class ChatHandler {
51
console.log('Received ping from client');
52
// Optionally, send a pong response
53
ws.send(JSON.stringify({ type: 'pong' }));
54
+ } else {
55
+ await this.handleMessage(ws, parsedMessage);
56
}
-
- await this.handleMessage(ws, parsedMessage);
57
});
58
59
ws.on('close', () => {
0 commit comments