hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.

Home Page:https://sprig.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Help fails silently when the user isn't signed in

cjdenio opened this issue · comments

Describe the bug
The AI Help feature fails to give answers if you aren't signed in to a Sprig account.

To Reproduce

  1. Go to https://sprig.hackclub.com/editor in an incognito session
  2. Click on the "Get AI Help" panel
  3. Ask a question
  4. Observe
Screenshot 2024-05-30 at 10 28 52 AM

Expected behavior

Maybe the panel could be greyed out when there isn't a user signed in?

Screenshots
Screenshot 2024-05-30 at 10 29 12 AM

Thank you for this.... it shouldn't be available at all if you're not logged in!