incognitolm commited on
Commit ·
8d92415
1
Parent(s): 637264d
Update chatStream.js
Browse files- server/chatStream.js +1 -0
server/chatStream.js
CHANGED
|
@@ -372,6 +372,7 @@ export async function streamChat({
|
|
| 372 |
const followUpBody = {
|
| 373 |
model: model || "lightning",
|
| 374 |
messages: followUpMessages,
|
|
|
|
| 375 |
stream: true,
|
| 376 |
};
|
| 377 |
|
|
|
|
| 372 |
const followUpBody = {
|
| 373 |
model: model || "lightning",
|
| 374 |
messages: followUpMessages,
|
| 375 |
+
tools: enabledTools.length ? enabledTools : undefined,
|
| 376 |
stream: true,
|
| 377 |
};
|
| 378 |
|