Send, or start a new line, in the agent panel
In the agent panel's box, Enter sends your request and Shift+Enter starts a new line; the @ list and input methods have their own rules.
On this page 3 sections
In the box at the foot of the Agent panel:
- Enter sends the request.
- Shift+Enter starts a new line.
- ⌘+Enter (Ctrl+Enter on Windows) sends too, even while the @ list is open.
The box on New site sends on Enter as well. A request is sent only when the box isn't empty and the agent isn't working; while it works, the Send button becomes Stop.
While the @ list is open
Typing @ opens the list of things to point at: a page, a section, a component, a collection, a language or a breakpoint. While it is open, the arrow keys move through it, Enter or Tab picks the highlighted item instead of sending, and Esc closes it. ⌘+Enter (Ctrl+Enter on Windows) still sends.
Typing with an input method
An Enter that confirms a word in an input method, as in Japanese, Chinese or Korean, never sends the request and does nothing else. The next Enter sends.
See the keys
Open the command palette (⌘K, Ctrl+K on Windows), choose Keyboard shortcuts, and look under Agent: "Send the request" and "New line in the request". See "Ask the AI agent to change your site" for what happens after you send.