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 be74550 commit 64ee19cCopy full SHA for 64ee19c
src/websocket/messageHandler.ts
@@ -108,6 +108,11 @@ export const handleMessage = async (
108
const parsedWSMessage = JSON.parse(message) as WSMessage;
109
const parsedMessage = parsedWSMessage.message;
110
111
+ if (parsedWSMessage.files.length > 0) {
112
+ /* TODO: Implement uploads in other classes/single meta class system*/
113
+ parsedWSMessage.focusMode = 'webSearch';
114
+ }
115
+
116
const humanMessageId =
117
parsedMessage.messageId ?? crypto.randomBytes(7).toString('hex');
118
const aiMessageId = crypto.randomBytes(7).toString('hex');
0 commit comments