Branching off
This commit is contained in:
parent
ab73226b87
commit
51fafb485c
1 changed files with 3 additions and 1 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue