Skip to content

Commit

Permalink
update call tp tpDataStrem from toAIStream
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinwloring1988 committed Nov 29, 2024
1 parent 6d06cf0 commit 9f9e871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/api.enhancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function enhancerAction({ context, request }: ActionFunctionArgs) {
},
});

const transformedStream = result.toAIStream().pipeThrough(transformStream);
const transformedStream = result.toDataStream().pipeThrough(transformStream);

return new StreamingTextResponse(transformedStream);
} catch (error: unknown) {
Expand Down

0 comments on commit 9f9e871

Please sign in to comment.