AI Initialization Failure, streamText
Not Generating Output, and Long Request Time
#5597
Labels
bug
Something isn't working
Description
Description:
When using the
streamText
function, I encountered the following issues:streamText
: ThestreamText
method takes an excessively long time to respond and does not generate any streaming output. See the attached screenshot: [Pasted image 20250408153041.png].index
file, no errors were thrown, but there is also no confirmation of successful AI initialization.Steps to Reproduce:
Main code in
index.ts
:Main code in
route.ts
, calling thestreamText
method:Expected Behavior:
streamText
request should return results within a reasonable time (e.g., 2-5 seconds).Actual Behavior:
streamText
response.Environment Information:
Additional Information:
Suggestions or Questions:
index
?streamText
?Thank you for the team's help!
Code example
No response
AI provider
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: