Merge pull request #2 from litongjava/java-perplexica

crrect userId
This commit is contained in:
Tong Li 2025-02-02 16:07:57 -10:00 committed by GitHub
commit c0a1a15456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -515,7 +515,7 @@ const ChatWindow = ({id}: { id?: string }) => {
ws.send( ws.send(
JSON.stringify({ JSON.stringify({
type: 'message', type: 'message',
useerId:userId, userId:userId,
message: { message: {
messageId: messageId, messageId: messageId,
chatId: chatId!, chatId: chatId!,
@ -523,6 +523,7 @@ const ChatWindow = ({id}: { id?: string }) => {
}, },
files: fileIds, files: fileIds,
focusMode: focusMode, focusMode: focusMode,
copilotEnabled: copilotEnabled,
optimizationMode: optimizationMode, optimizationMode: optimizationMode,
history: [...chatHistory, ['human', message]], history: [...chatHistory, ['human', message]],
}), }),