Wiki / Chat Features

Chat Features

The chat is more than a text box: it knows your files, shows artifacts and charts, logs tool calls and automatically compresses long histories.

Sending Messages

Chat History (Left Column)

The left column lists your chats, learning sessions, workflow plans, workflow runs and scripts. Every entry is a single-line row: the title on the left and, for workflows and scripts, a right-aligned meta text (node count, arguments or last timestamp). Chats and learning sessions show no meta text, so their title spans the whole row.

When a Message Doesn't Get Through

Sometimes no answer arrives. In most of these cases Apis AI solves the problem by itself and tells you in the conversation what it is doing. These are the messages you may see:

What you seeWhat it means and what you can do
API Limit - Retry in 30s (Attempt 1/3) The service asks you to slow down and tells the app how long to wait. Apis AI waits, counts the seconds down and tries again – up to three attempts. You do not have to do anything; a running attempt can be canceled with Stop.
an error naming the API limit All three attempts were refused. Wait for the time the message names and send your text again.
Tool calls disabled The context window of the model is too small for the tools that are switched on. So that your message still arrives, the app sends this first message without tools – you get an answer, just without file or MCP access. Raise Context Window under Providers & Models or choose a model with more room.
Tool Fallback The model could not do anything with the tools on this turn. The app sends the same message once more without tools, so you still get an answer.
Output budget spent on reasoning Typical of models that think before answering: the whole output budget goes into the thinking, and nothing is left for the answer. Apis AI retries on its own – first with a limited thinking budget, then without thinking, then with a hint to answer right away.
A notice that the answer was stopped because the output budget is used up Even the retries brought no answer out of the model. Raise Max Output Tokens under Parameters, choose a different model, or split your request into smaller steps.
The provider did not return a response (empty output)… The service delivered nothing at all. Send again or switch the model.

Other errors appear as a note above the input field with a small cross to close it. Which message belongs to which case – a missing API key or an empty model list, for example – is collected in FAQ & Troubleshooting. Your conversation is not lost in any of this: as soon as things get tight, Apis AI summarizes the older part (see History Compression).

Questions from the AI

Sometimes the AI has to decide something that you should decide yourself – for example which of two approaches it should take, or whether it may overwrite a file. In those cases it stops and asks instead of guessing: the questions appear right in the conversation, and your answer is sent with Continue.

While the AI waits for your answer, the response is simply paused – nothing is lost. If you would rather not answer, cancel the response with Stop.

Linking Files (@)

Type @ anywhere in your message and a suggestion list opens directly above the input field:

Summarize @bericht.md and add the figures from @daten/q3.csv

Sharing temporarily instead of configuring

An @ reference is itself the permission: you do not have to add a folder under Settings → System & Prompts → Shared Folders first. Entries that are not covered by a configured share carry the label Share temporarily in the suggestion list.

The temporary share belongs to the conversation: it is stored with the chat and stays valid when you reopen it. Other chats are not affected, and nothing is written to your settings. Every temporary share is written to the log file, so you can always retrace which folders a conversation had access to.

Images & Screenshots

Models with image input (vision) can look at pictures. In the "+" menu choose Images to add one or more image files to your next message; the thumbnails appear above the input field and can be removed individually before sending. The image is downscaled and embedded, so it is available to the model even if the file is moved later.

You can also paste an image straight from the clipboard with Ctrl+V (or ⌘+V). If the clipboard contains an image, it is attached – even when it also carries text (browsers and office apps usually do). Text paste is handled separately, so normal text pasting keeps working.

Attaching never blocks the interface: as soon as an image is added, a placeholder chip appears immediately at the final thumbnail size, while the preview is decoded in the background. The finished thumbnail then replaces the placeholder without the toolbar jumping. Removing or reordering images does not decode the remaining previews again, and the same background decoding is used for the images in sent messages and in the artifact preview. If an image cannot be decoded, the chip falls back to a neutral image icon instead of failing.

Important: the Images entry is only active when the selected model supports image input. For all other models it stays grayed out ("Not supported") and cannot be clicked – this avoids requests that the provider would reject. The app detects this per model (Ollama and OpenRouter via their capability APIs, Claude and Gemini by model family, otherwise by model name).

The AI can also take a screenshot itself when a vision model is active:

On X11 the app uses the native Java capture. On Wayland that only sees XWayland content, so it prefers the desktop tools (grim, spectacle, gnome-screenshot, import, scrot, maim) and captures the screen without any prompt; the requested monitor is then cropped out of the combined image.

Many screenshots in a long chat Every image stays in the conversation and is sent again with each request. A long session with many screenshots therefore grows into a very large request body – one Roblox or browser capture is around 450 KB, and a few hundred of them add up to tens of megabytes. Providers reject that with HTTP 413 ("payload too large"), even when the context window is nowhere near full, because the limit is the body size and not the token count. Apis AI therefore caps the image payload of a request at 10 MB: the newest images are kept, older ones are replaced by a short note for the model. They stay visible in the chat and in the saved conversation – only the outgoing request leaves them out. A 413 is also treated like a context overflow: the app drops old media and compresses once instead of failing outright.

Documents (PDF & Text)

In the "+" menu choose Documents to attach PDFs or text files (TXT, Markdown, CSV, JSON, XML, YAML, HTML, log files, …) to your next message. The attached documents appear as chips above the input field and can be removed individually before sending.

How the document reaches the model depends on the selected model:

Very large documents are truncated to keep the request within the context window. This works in every chat and in learning mode. Files you only want to reference (without loading their content) are still linked with @ (see Linking Files (@)).

Speech Input

With speech input enabled (see Speech Input), two buttons appear next to the "+" menu:

Setup and troubleshooting: Speech Input.

Skills in Chat

The "+" menu on the input field bundles attachments and skills:

Below that, the same menu also holds the per-chat settings that used to sit as separate pills next to the input:

The model list is fetched once per provider and then cached for the rest of the app run. Opening the submenu or switching chats/providers does not start a new search (for llama this means no repeated GGUF folder scan). Only the refresh button in the list header forces a new query – e.g. so freshly added .gguf files show up without restarting the app. While a provider has never been loaded, the list stays empty and a spinner runs; on error the list stays empty rather than showing stale entries. Changing a provider's endpoint, key, GGUF folders or auto-start in the settings drops its cached list and loads it again.

Hovering a row opens its submenu to the right; the panel itself stays in place. Every setting here applies only to the current chat.

Active Provider & Model

Right next to the "+" menu a small chip is always visible in the input row. It shows the provider and model that are active for the current chat, e.g. Ollama · qwen3:14b. You no longer have to open the "+" menu to see which model will answer.

The chip is purely informational; click the "+" menu to actually switch provider or model.

Right Sidebar (Preview, Tasks & Diff)

On the right edge of the chat window sits a narrow bar. The Preview, Tasks and Diff area behind it is collapsed by default, so the conversation uses the full window width. Click the bar to open it.

The panel belongs to the chat: the collapsed state is remembered for the current app session and applies to chat and learning mode. In workflows and scripts the area is not shown at all.

Artifacts & Charts

Code blocks, SVG drawings and diagrams are collected in the right panel under Preview:

Inline References to Generated Images

Diagrams the AI creates (create_chart) and screenshots it takes (capture_screenshot) are no longer only shown at the tool call. The AI can point at them from its running text: each generated image gets a short reference token such as [[art:1]]. Where the AI writes that token, the app places the image on its own full-width line in the message – right where it belongs, without scrolling through every tool call.

Markdown, Code & Trees

Responses are rendered as Markdown: headings, lists, tables, quotes, links, inline code as well as bold and italic. Markdown is also rendered inside quotes (> …) – headings, lists, code and tables appear there just as they do in the body text.

Mathematics is displayed: display formulas in $$ … $$ or \[ … \] are rendered as formula images (fractions, roots, superscripts/subscripts, Greek letters and operators). Inline formulas in $ … $ or \( … \) appear directly in the text with superscript/subscript characters. For actual calculations the AI uses the math_resolve tool (see Tools & Security): it evaluates single expressions or a whole batch and labels every result as exact, float approximation, undefined (domain) or NaN, so it does not have to guess at arithmetic and you can tell an exact value from a rounded one.

Code blocks appear in the bundled monospace font JetBrains Mono (uniform character width regardless of the system) with syntax highlighting, copy button and horizontal scrolling.

Every message can be selected and copied with the mouse: select text with the mouse button held down, then Ctrl+C (or ⌘+C). This also applies to thoughts, tool output and the entire message history.

ASCII trees made of box-drawing characters – such as scene or file trees – are recognized automatically by the app and rendered as a graphical tree instead of plain text:

This also works without a code fence. Use the button at the top right to switch between tree and text view; the copy function always returns the original text.

Tool Calls & Thoughts

On every turn you see collapsed:

One entry per uninterrupted run of tool calls. An agent run usually makes one call per turn, so the calls are bundled instead of listed one row after the other:

The AI can use tools until the configured max tool rounds limit is reached (0 = no limit). Which tools a model receives in the first place is decided per model on the card Tool Selection per Model – see Settings.

Tool Failure Reminder If the same tool fails over and over, Apis AI steps in: after a few failed attempts in a row (configurable under Settings → Parameters) a short note appears in the conversation – it names the tool and how many attempts have failed – and the AI is asked to change its method instead of repeating the same call. One successful call starts the count over, and only a handful of such notes are sent per run, so they never become noise themselves. The same safety net works in workflow steps and keeps an agent from getting stuck in an endless tool loop.

Auto-Scroll & Long Thinking

While an answer or a thinking block streams in, the view follows the new content automatically – as long as you stay at the bottom. As soon as you scroll up, following stops so you can read in peace; scroll back to the bottom (or click the down-arrow button that appears) and the view follows along again. This also works with a single thinking block that is taller than the window: the view keeps the newest lines in sight instead of pinning the block to the top.

File Edits & Diffs

Every change the AI makes to a file appears in the conversation as a Git-style diff: removed lines in red with a leading -, added lines in green with a leading + and, above them, a neutral header line naming the file and the changed line range. The view uses the monospace font, scrolls on its own and is capped in height, so even extensive edits do not push the chat apart.

Tool calls appear collapsed as a row with the tool name and its status (running, OK, error). Clicking the row opens it – for a file edit that reveals the diff instead of the raw arguments. Scripts are the only exception: their terminal output is visible while they run.

How the AI Edits a File

For changes to an existing file the AI has exactly one tool: local_edit_file. It has two modes:

Why the AI Reads With Its Own Tools Reading, searching and listing go through local_read_file, local_grep, local_list_dir and local_find_files instead of cat/sed/grep in the terminal: they return real line numbers, respect your shared folders and cost fewer tokens. The terminal stays for builds, tests, git and processes those tools cannot run.
Shell Edits Are Blocked If the AI tries to modify an existing text file in a shared folder through the terminal – for example with sed -i, perl -pi, tee or a > redirect – the command is rejected and the AI is told to use local_edit_file instead, so that the change stays visible as a diff. Binary files and paths outside your shared folders are not affected.

Checking and Reverting a Change

The status at the tool call tells you whether the edit went through; on an error the file was left unchanged. Since the diff contains the removed lines, a change can be taken back: ask the AI to restore the previous wording of that range – it sees the removed lines in the diff and edits the same spot again.

Deleting a whole file is a separate step and asks for confirmation as long as Can delete files on its own is off (see Tools & Security). File tools only reach shared folders, and in a workflow node they can be switched off entirely – without file tools there are no diffs either.

Precise Wording Pays Off Name the file and the spot, for example Change the timeout in line 42 of config.yml to 30. That is exactly the edit the AI can carry out and document as a diff.

Diff Tree – All Changes in the Chat

The individual diff at the tool call shows one edit. The Diff tab in the right sidebar collects all changes of the current chat in one place – as a folder tree with Git-style line counters, exactly like a change list in an IDE.

The counters are derived from the tool calls themselves, not from the rendered diff text: local_edit_file counts the replaced line range as removed and the lines of newContent as added, local_write_file counts all lines as added, and only calls that finished without an error are counted at all. Shell edits are not listed (they are blocked in shared folders, see above), and neither are file changes made through MCP tools – their output is not a diff.

The diff view reads the removed lines from the tool result, because only that result knows what was there before. For a full write (local_write_file) the written text from the tool arguments is shown as added lines. If a result no longer carries the diff lines – for example after a rewind or when the result was shortened – the view says so instead of inventing content. Both sides are capped at 200 lines per change; a note marks the rest.

Quick Check Before You Commit Finished a longer task? Open the Diff tab, click the changed files and compare the lines with what you expected – that way a forgotten file or an unexpectedly large rewrite stands out before you commit.

History Compression

As soon as the history reaches the compression threshold, the app summarizes older messages into a structured handover report. The threshold is measured against the usable input budget (context window minus a reserve for the answer: min. 20,000 or max. tokens). The 75 % threshold applies to the messages; the tool schemas that are sent along only trigger a compression when the whole request no longer fits the usable budget. That way a chat with many tools does not compress on every turn even though the messages leave plenty of room. The real token usage reported by the provider is used as that overflow bound, so the estimate calibrates itself after the first turn. A notice in the conversation marks the compressed messages; the most recent messages stay in their original form.

Archive: Looking Up Lost Details

The complete original messages remain stored even when they are no longer in context. The AI can look them up specifically:

This way the AI does not have to guess early instructions (such as "use AI only to explain, not to replace") but can find them verbatim.

Large Tool Outputs Very large tool results (e.g. extensive file or research output) are offloaded: only the beginning plus a handle remains in context. The AI reads the rest on demand with tool_result_read. Optionally (see Settings → Parameters), old tool outputs are pruned before a summary: they are replaced by their handle whenever this frees more than 20,000 tokens. This way the history hits the compression threshold less often and the summary itself stays cheap.
Old tool results are pruned in every request Each request keeps only the tool output of the most recent rounds verbatim (8,000 tokens, at most a quarter of the context window); older, large results are replaced by their handle. The AI can still read them with tool_result_read, and the chat view keeps the full text. The reason is browser automation: browser_snapshot returns up to 16,000 characters per step, and ten steps would fill a 40k window on their own – although the model only ever needs the newest snapshot. For the same reason the Playwright MCP server is worth starting with --image-responses omit (no screenshots for text-only models) and, if you can do without page snapshots, --snapshot-mode none.

Rewind – Back to an Earlier Message

Every user message has a Return button. It deletes everything after that message and puts your text back into the input field so you can change and resend it. Stored compressed histories are restored in the process. Rewind is available in normal chats as well as in learning mode and is disabled while a generation is running.

Tasks

The AI can create and maintain tasks via task management. They appear in the right panel under Tasks with status (Open / In Progress / Done / Discarded) and optional subtasks.

Todo Reminder The AI can gently check off open tasks itself after completed tool calls. The reminder is configurable globally and per chat or node.

Long-Term Plan

While Tasks are a scratchpad for a single response, the Long-Term Plan is for goals that span several messages or sessions – for example “learn linear functions” or a multi-week project. The AI maintains it via the plan tools and it appears in the right panel above the tasks.

Plan entries are saved with the conversation: they survive new user messages and a history compression. On every new message the AI is reminded of the open entries, so it does not lose the thread even in long chats. Entries have the same statuses as tasks (Open / In Progress / Done / Discarded) and can have subtasks.

Available in chat and learning mode The long-term plan is available in regular chat and in learning mode. It is not available in workflows.

Confirmations

When the AI wants to delete a file and the Can delete files on its own option is disabled, the app asks first. You can confirm or reject the action. Details under Tools & Security.