-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The v3.4 to v4 migration codemod is unusably slow #3766
Comments
If you only use those functions, there is likely nothing to migrate. Can you just try using 4.0 without running the migration? One thing you may want to change manually is removing the |
Migration worked for the backend. Everything seems fine so far. |
Hi there, thanks for the report and sorry to hear the performance isn't good for your code base. A few things that could help us look into this if you can share:
|
@shaper |
Thank you. Do you know whether all of the code was already local, or if some was potentially loading over a network mount? We have several potential performance improvements in mind and your feedback can help guide what order we approach them in. |
Code was local. It has ~500 stale branches and 3000 commits. |
Description
I have a react project with webpack which is a bit old. However,
ai
worked without an issue. The only features I'm using are:experimental_useObject
useCompletion
and there's likely nothing to migrate. But still it takes hours. I waited 4 hours when my machine crashed due to an unrelated issue.
Code example
AI provider
@ai-sdk/google v1.0.0 (in backend, so unrelated?)
Additional context
Linux 6.8.0-48-generic/Linux 6.8.0-48-generic
The text was updated successfully, but these errors were encountered: