Open lcsvcn opened 1 month ago
@clharman i recommend using the ai sdk instead https://sdk.vercel.ai/docs/introduction which supports gpt4o. have you given it a try?
@lgrammel I will check it out! Still hoping to get 4o in modelfusion until we make the switch. Is modelfusion planned for deprecation in favor of ai sdk?
@clharman just a tip if you are so eager to use it before migrating (as we were too), you can run my modelfusion repository by cloning our custom repository.
We are doing that at the moment and we are able to run on production gpt4o successfully, without any issues.
Basically what we did so far is very similar how it is done on the modelfusion examples folder, but you need to do that on your package.json folder and clone the modelfusion repository into your project.
don't forget the pnpm-workspace
file:
https://github.com/vercel/modelfusion/blob/c53afa504cf5927223b8f5bb86639c96710088ae/pnpm-workspace.yaml#L1-L6
here is how it looks like on our github repository:
the downside is that you need to clone the project and build before you can run your project, that adds time when we run our CI/CD.
@clharman i recommend using the ai sdk instead https://sdk.vercel.ai/docs/introduction which supports gpt4o. have you given it a try?
Is there a migration guide? Would be nice to know what has to be changed. Just the imports or are there more in depth changes needed?
Thanks for creating this PR. Please merge this 🙏 or we are gonna have to use something else :(