mage through cli

I'm trying to run mage with my own OpenAI token, the running locally section on Github (https://github.com/wasp-lang/wasp/tree/main/mage#running-locally) recommends doing it through wasp cli. I've gone through the CLI docs (https://wasp-lang.dev/docs/general/cli), need clarity on the following: 1. What is the command for adding my OpenAI token to the cli ? 2. How can I ensure that mage uses GPT-4 for all the steps (is there a flag or something?) 3. Running locally github page suggests using wasp new:ai commands, however I couldn't find any reference for it. Thanks!
1 Reply
martinsos
martinsos9mo ago
@The Brainiac so whatever is on main branch is not yet released. On main branch we currently have 0.12 version of Wasp, which is almost ready, but will be released for real in a couple of days once we are done with all the polishing, doc updates, testing and similar. So if you want to use that functionality, you will have to wait a couple of days, next week latest, until Wasp v0.12 comes out! Oh and providing OpenAI token is easy, you just set it as env vars. That and all the other questions -> wasp start has nice wizard that will guide you through all of this (in version 0.12).
Want results from more Discord servers?
Add your server