Update Wasp AI to use latest GPT model

I would like to ge use the WASP AI feature however it is very expensive as it is still using the gpt-4-0613 model. Would it be possible to update this to use gpt-4o which is a lot cheaper?
3 Replies
kapa.ai
kapa.ai2mo ago
Hi @cking!M. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not specify which GPT model Wasp AI currently uses, nor do they provide information on how to update the GPT model used by Wasp AI. However, Wasp AI does allow you to provide your own OpenAI API keys when creating a new Wasp app using the wasp new command, which suggests some level of flexibility in terms of the AI services used. You might want to explore this further in the Wasp documentation (https://wasp-lang.dev/docs/wasp-ai/creating-new-app#wasp-cli). For more specific guidance or requests, I would recommend reaching out to the Wasp community or the Wasp team directly, perhaps through their Github (https://github.com/wasp-lang/wasp) or Discord (https://discord.com/channels/686873244791210014/1202028421685973042) channels. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @cking!M, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Filip
Filip2mo ago
Hey @cking!M, you can configure the AI model from the command line. Run wasp new:ai without any additional arguments to see help. Anyway, this should work:
wasp new:ai myapp "Build me something" '{ "planningGptModel": "gpt-4-0613", "codingGptModel": "gpt-4-0613" }'
wasp new:ai myapp "Build me something" '{ "planningGptModel": "gpt-4-0613", "codingGptModel": "gpt-4-0613" }'
cking!M
cking!M2mo ago
Thank you!
Want results from more Discord servers?
Add your server