crrect userId

This commit is contained in:
litongjava 2025-02-02 16:04:59 -10:00
parent f714645b0c
commit 969f01e275

View file

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