I already broke the AI! Beta 18

Windows 10/Beta 18

ok, so I have managed to break the AI and can't get it to work.

So it worked great and then it didn't. I click on the generate and then nothing. So then I restart wappler and it works for a time or maybe two and then does it again. So I've quit wappler and restarted. And now it still won't work. I signed up for the pro version on github thinking I might have already over stepped my limits. Now I don't know how to troubleshoot from here?

This mean anything?

And I rebooted computer also. Same thing....

Hmmm, maybe turn off AI in the settings, restart Wappler and then turn AI back on?

Worth a shot.

Turned AI off. Closed Wappler. Restarted. added AI back. went through steps to confirm github permissions again. Doing the same thing. I think it has something to do with the "removed expired certificates" bit? hopefully @patrick will chime in soon.... :beers:

1 Like

Maybe you hit AI API limits?

I don't think so. I went ahead and signed up for the pro. Still doing it. When it first started it would work once, and then wouldn't work again until I restarted wappler, and then it would work once or twice and then stop. I should be no where near my limits.

I am trying to generate a log file now....

ok, I think I'm making some headway. It won't replace the code. But if I choose to Insert at the start of the selected node, then now it seems to be working. It won't replace code. But it will insert....

Could you add a debug log?

I think I added one lol. But can't remember where to download it and I couldn't quickly find the how to article.

And what is your page type and the selection when you call the Copilot?

lf you could share the link to the how to page that would be awesome

I was trying to have it create meta tags for me

So if I highlight this code and choose replace it doesn't work
<meta name="ac:route" content="/Videos">

But if I place my cursor at the end of the line and choose to insert after then that does work,cbut now I have

<meta name="ac:route" content="/Videos">
<meta name="ac:route" content="/Videos">

In my code. So was trying to replace that one line so that I didn't have to delete the duplicate line. But it might just be growing pains and knowing how to use it properly?

To avoid the duplication of meta tags, in my prompt I asked specifically for 'missing' meta tags and that way it actually worked and didn't overwrite or duplicate any tags that were already there.

oh, yeah that's a nice option. I'm sure we have a big learning curve ahead. But wow its really useful!

The current implementation of the AI copilot is based on selections in the structure tree. So maybe select from there, you can enable to show all html tags so you see the meta tags.

@patrick will check the code selection and insertions

sounds good. I will dig in some more. Just got over excited. LOL. But nothing else to worry about for today. Go to bed!

1 Like