wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.73k stars 1.13k forks source link

Adds `GPT4-o` model to Wasp AI #2081

Open infomiho opened 4 weeks ago

infomiho commented 4 weeks ago

Adds GPT4-o to the list of supported list of Wasp AI models.

Based on https://platform.openai.com/docs/models/gpt-4o

Closes #2043

Martinsos commented 4 weeks ago

Ok sweet! We can actually merge this already, since it allows them to pick this model now via CLI via that config object, but I was also hoping to do a bit more with this:

  1. Test how well it works, if it works as good as GPT4, then make GPT4o new default.
  2. In CLI, in wizard where we offer them 3 different options for which model they want to use, again, if GPT4o is a good replacement, replace GPT4 with GPT4o in those.

So that way GPT4o would replace GPT4 in current setup, and GPT4 would become something you can pick only via CLI via config object, so the opposite of what we have now.

If you want to do this in this PR (maybe easiest to do it now!), let's do it, if not, then let's create new issue for it. I would go for it now while it is fresh, especially if you did some testing already.