AI Chat
About 665 wordsAbout 2 min
The chat page keeps the model, the device, and local tools in one context: the model reads device state and calls tools, and results return to the conversation as cards.
Layout
| Platform | Layout |
|---|---|
| Mobile | History drawer on the left of the title bar, new session on the right, full-width conversation |
| Desktop | Fixed 260-wide session list, conversation with a maximum body width of 860 |
Sessions
- A session is created lazily on the first message; its title comes from that message and can be renamed.
- The list is ordered by recent use and shows relative times: just now, N minutes ago, N hours ago, N days ago.
- A streaming session is marked "Generating…".
- Deleting asks for confirmation with the title included.
- Switching sessions does not interrupt a running stream; when a background session finishes, a toast appears once.
- A session without a title shows as "Untitled conversation".
Input and streaming
- The input grows from 1 to 5 lines.
- Desktop: Enter sends, Shift + Enter inserts a newline. Mobile uses the send button.
- While streaming, the send button becomes a stop button; stopping ends local reading.
- With empty input the send button is disabled.
Message rendering
- Assistant text runs as a bubbleless flow; user messages are right-aligned bubbles.
- A divider separates each new question from the previous segment.
- The first assistant message after a user message shows the brand icon and current model name; tool continuation turns do not repeat it.
- Code blocks show a language label and line count, with a full-text expand action.
- Markdown images without alt text show a placeholder label.
Tool calls
Each call is a single row:
● Read device info 320ms ⌄- The status mark distinguishes running, success, and failure; failures use the error color for the whole row.
- Duration sits on the right.
- Tapping expands arguments and results; results longer than 12 lines collapse behind an "Expand all N lines" action.
- Multiple calls in one turn collapse into a summary row "Executed N tools", expandable into indented entries.
Results render as tables or monospace text, for example device info, search hits, or run-log entries.
Suspension and resume
When the model needs a user action on the device (entering a pairing code, confirming an escalation), the turn is suspended:
- A notice reads that the turn continues automatically after the step above is completed.
- The panel re-checks its condition every 2 seconds while suspended, plus once when the app returns to the foreground.
- When the condition is met, the same turn resumes in memory without resending the request.
- A turn resumes only once; panels in earlier turns are not re-triggered.
Escalation in chat
Chat can trigger the same capabilities as the manual page:
| Capability | Notes |
|---|---|
| Auto-match payload | Matches one bundled payload by device and kernel |
| Payload by id | Runs a specific catalog entry |
| GhostLock / DirtyFrag / GhostKey | Starts the chain and polls its status |
| Hand off to current manager | Gives temporary root to the selected manager |
| Select root manager | Writes preference only; no device state changes |
Execution tools state in their descriptions that the model should confirm with the user before acting, so it usually explains what it is about to do first. Chat has no separate confirmation dialog; the dialog with risk notes lives on the manual escalation page.
In-app browser
Web cards in chat can open in the in-app browser, which offers:
| Action | Notes |
|---|---|
| Back / forward / reload | Standard navigation |
| Hand page to AI | Returns the page source |
| Hand URL only | Returns the current URL |
| Pick a downloaded file | Sends a local firmware file back to the conversation |
Desktop has no in-app browser: the action explains to open in the system browser and pick the file back.
No configuration
Without a completed AI configuration, a banner above the input reads that configuration is required, with a button opening the configuration page.