crrect userId
This commit is contained in:
parent
f714645b0c
commit
969f01e275
1 changed files with 2 additions and 1 deletions
|
@ -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]],
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue