Choose Ask AI, above the code, and say what you would like changed in the file that is showing, such as “make the button bigger and rounder”. AI help reads that file and sends back the change.
Nothing changes until you say so. You see the change as a before and after, with a short summary of what changed. Use this change puts it in your code; Ctrl or ⌘ Z takes it back in one step. Ask again lets you add a few more words. AI can get things wrong, so look over each change.
AI help uses your own key from Claude, ChatGPT (OpenAI) or Gemini (Google), so requests are billed to your account there. Get a key from the Claude Console, the OpenAI Platform or Google AI Studio (each needs some credit or billing; a ChatGPT subscription alone doesn’t include it), then add it in Settings → AI help. Each key is checked with its company first, kept in this browser on this device only, and sent only to that company, never to Gestalt. Remove it there before you hand the device to someone else.
With more than one key, pick which one Ask AI uses in Settings → AI help, or with Using in Ask AI itself. ChatGPT and Gemini each offer several models; Settings lists the ones your key can use, starting with a good one for code.
If you gave your Claude key an end date in the Claude Console, add it under Expires on in Settings → AI help: Code LE reminds you two weeks before. If a company turns a key away (turned off, expired or out of credit), Ask AI says so and Settings marks the key Stopped working.
AI help works on one file at a time, up to about 150 KB. Your file and request go to the AI you picked to make the change.