incognitolm commited on
Commit
08fd421
·
1 Parent(s): 68425fa

Update wsHandler.js

Browse files
Files changed (1) hide show
  1. server/wsHandler.js +3 -1
server/wsHandler.js CHANGED
@@ -198,7 +198,9 @@ const handlers = {
198
  const rootMessage = session.history?.[0];
199
  const flatHistory = rootMessage ? extractFlatHistory(rootMessage) : [];
200
 
201
- await streamChat(ws, {
 
 
202
  history: flatHistory,
203
  userMessage: content,
204
  tools: tools || {},
 
198
  const rootMessage = session.history?.[0];
199
  const flatHistory = rootMessage ? extractFlatHistory(rootMessage) : [];
200
 
201
+ await streamChat({
202
+ sessionId,
203
+ model: session.model,
204
  history: flatHistory,
205
  userMessage: content,
206
  tools: tools || {},