This commit is contained in:
Siddharth Ganesan
2025-09-04 11:27:54 -07:00
parent 95d93a2532
commit c68cadfb84
2 changed files with 24 additions and 1 deletions

View File

@@ -372,6 +372,7 @@ export async function POST(req: NextRequest) {
streamToolCalls: true,
mode: mode,
messageId: userMessageIdToUse,
chatId: actualChatId,
...(providerConfig ? { provider: providerConfig } : {}),
...(effectiveConversationId ? { conversationId: effectiveConversationId } : {}),
...(typeof effectiveDepth === 'number' ? { depth: effectiveDepth } : {}),