incognitolm commited on
Commit
126e920
·
verified ·
1 Parent(s): eb20b8d

Update server/chatStream.js

Browse files
Files changed (1) hide show
  1. server/chatStream.js +1 -0
server/chatStream.js CHANGED
@@ -119,6 +119,7 @@ export async function streamChat(ws, {
119
  onNewAsset,
120
  abortSignal,
121
  }) {
 
122
  const client = makeClient(accessToken, clientId);
123
  const enabledTools = buildToolList(tools);
124
 
 
119
  onNewAsset,
120
  abortSignal,
121
  }) {
122
+ if (!accessToken) console.log("Missing access token");
123
  const client = makeClient(accessToken, clientId);
124
  const enabledTools = buildToolList(tools);
125