Branching off

This commit is contained in:
Glen Maddern 2025-06-25 15:06:17 +10:00
commit 51fafb485c

View file

@ -162,6 +162,7 @@ export const useStreamResponse = ({
// Use fullStream to get all events including tool calls, results, and text
for await (const event of result.fullStream) {
console.log(JSON.stringify(event))
try {
if (event.type === 'reasoning') {