feat(chat): increase maxSteps to allow multiple tool-calling rounds

This commit is contained in:
Aryan Keluskar 2025-10-18 22:40:43 -07:00
parent 457101cb3d
commit eb225636b4

View file

@ -247,7 +247,7 @@ export function ChatMessages() {
},
},
}),
maxSteps: 2,
maxSteps: 10, // Allow multiple tool-calling rounds
onFinish: (result) => {
const activeId = activeChatIdRef.current
if (!activeId) return