Update stream-text.ts

This commit is contained in:
Yaqub Mahmoud 2025-01-27 13:31:28 +09:00
parent 91940c4d67
commit 9cce045752

View File

@ -56,5 +56,8 @@ export function streamText(messages: Messages, env: Env, options?: StreamingOpti
// messages: convertToCoreMessages(messages), // messages: convertToCoreMessages(messages),
// ...options, // ...options,
// }); // });
} catch (error) {} } catch (error) {
console.error('Error streaming text:', error);
throw error;
}
} }