I tried using AI a while ago with some success,
but now I can't use it anymore. Maybe I accidentally changed something, but how can I restore it?
I take it you are using CoPilot. You are likely out of tokens and may have to wait until they reset. You don't get much tokens for free. I suggest using Open Router (paid service). You get 414 models to choose from with varying costs. You can add a dollar amount rather than a subscription. So you only pay for what you use and have full control over spending.
Adding to Brad's reply, GitHub have recently changed their subscription models. You may need to re-subscribe by toggling the Enable Copilot AI Features toggle off and on.
I'm just testing it for now, so I'd prefer it for free. I'll evaluate how to use it later.
Now I'll try resetting the AI.
I disabled AI and restarted Wappler.
Now if I enable AI again, it asks me for a password, but I don't know where to find it.
After selecting GitHub Copilot, as you have done, and the code panel does not pop up, merely toggle the switch off and on and the panel with the code will appear.
As the narrative states, the code is already in your clipboard so that all you have to do is paste the code into the GitHub panel - the one that asks for the code.
I think it is because of a change in copilot, I haven't tested it yet, but I've found a blog post that it removed the model selection for free and student plans.
Changes to model selection for Free and Student plans - GitHub Changelog
Will do some tests and see if we can update the chat in Wappler.
The problem is that github is quite complicated for those who don't know it and it is difficult to understand how to set it up
Furthermore, the Wappler Tutorial is clear but unfortunately some settings cannot be found with the current version of Wappler
I tried installing from the terminal
brew install copilot-cli
But unfortunately it doesn't work because I have a Mac Big Sur.
A CLI is a command line interface which runs within a terminal @Marzio
You do not need a CLI installed to use Wappler's AI features. As Patrick is pointing out the Plans for Copilot have changed. This seems to be the issue. There are no longer free tier plans available so you will not be able to use Copilot within Wappler if you do not own a Copilot subscription. You will have to register with Github. Select a subscription tier. Pay for it. Then connect that subscription within Wappler.
Given that it's no longer possible to use AI Copilot for free, it would be interesting to know which AI plans, among those offered by Wappler Options, can provide a free AI service.
And which are the best for Wappler.
This is because before signing up for a paid subscription, you need to determine whether it's worth the risk.
For example, how does Gemini API work?
Can it be used in Wappler? Is it really free?
Or is there something better?
Marzio, Over the past year I was on the GitHub Pro+ plan @ $390 for the year. At the end of the year, the subscription was not renewed, and GitHub had not allowed me to go to a similar plan until the start of this month when they put me on the $10 per month Pro plan giving me 1500 premium requests per month. This is similar to what I had in the Pro+ plan.
The month that I was without GitHub subscription, I decided to go to Anthropic and take an API subscription using Claude. The subscription was usage based and I burned the dollars using mainly the cheapest Claude Haiku 4.5.
The bottom line: Using Claude Haiku on Anthropic was super-fast and accurate. Using the same model in GitHub was slower and less accurate, but much more value for money. Where Haiku has not performed, I will use Claude Sonnet 5 which consumes double the number of premium requests but supplies brilliant results.
If you need assistance with either of these subscriptions, please yell out.
Thank you Ben






