You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A task list the agent leaves unfinished at the end of a run is collapsed, dimmed and labelled "not updated by the agent", so an abandoned list no longer looks like current progress (small models often create a list and never update it). It shows normally again while the agent runs, and is saved with the session.
A pause at the step limit shows as a notice with Continue rather than as a red error, and screen readers announce it as a pause, not an error.
npm run smoke:agent and npm run bench:agent use the extension's step limit (50, or OWUI_MAX_ITERATIONS) instead of the test harness's 20, which had cut off long benchmark runs.
Faster first replies on hybrid models such as Qwen 3.5 and 3.6, which can only resume from server checkpoints. The background warm-up pads its message so the server's checkpoint lands just before the end of the instructions; the first message then re-reads about 250 tokens instead of about 1,050 (measured on an integrated GPU: 1.2–1.5 s of prompt reading instead of 3.5 s; a first "hi" took 4 s end to end). Each new session is warmed up as well, because its first message needs the same checkpoint.
The session's scratchpad path is sent as a note with the first message ([Session scratchpad: …], again after compaction or a restore) instead of in the instructions (system prompt v0.5), so the instructions and tool definitions are identical across sessions and the server can reuse its prompt cache for them.
run_command and start_process results name the folder the command ran in ("Exit code 1. Ran in clock."), and their descriptions explain that relative paths resolve against it, so a wrong working folder is visible instead of looking like a broken script.
npm run bench:agent repeats live tasks (OWUI_RUNS, OWUI_TASKS) and prints the median, minimum and maximum of each metric. The live script has a hi task, OWUI_WARM=1 to warm up first as the extension does, and a todo task that checks the task list is kept with update calls.
The setup guide covers integrated GPUs (OLLAMA_IGPU_ENABLE=1), keeping the model loaded (OLLAMA_KEEP_ALIVE) and why a very large context size slows everything down.
write_file's description asks for several new files to be written in the same turn; small models follow hints in tool descriptions more reliably than in the instructions. npm run smoke:agent has a multi-step task (OWUI_TASK=multistep: a small Node project with tests, no installs) and prints a metrics-json: line with turns, output tokens, tool calls, failed tools and the most tool calls in one turn.
A run summary after each run that changed files or ran commands, filled in by the extension from what it recorded rather than by the model: the files the agent added, modified or deleted (click to open), each command with its exit code, warnings found in command output (a command whose last run failed, npm audit findings, deprecated packages), and a note when nothing ran after the last file change. A small model's own report can leave such things out; this card cannot. A continued request keeps one summary. It is saved with the session and included in the Markdown export, and never sent to the model, so it costs no tokens.
Planning on request. Asking for a plan in words ("go into planning mode and…") now gets a plan and a stop: the instructions tell the agent to only read and search, reply with a numbered plan and wait for approval before editing or running anything. Before, a small model often planned and then implemented anyway, or skipped the plan. /plan <task> switches to Plan mode and sends the task (/plan alone only switches), and Implement this plan, under the agent's finished answer in Plan mode, switches back to the mode you used before and asks the agent to carry the plan out.
Fewer output tokens per task, which is where a local model spends most of its time. todo_write takes update: [{ item, status }] to change statuses without resending the list (about 15 tokens instead of about 140), and its result numbers the items. The instructions (system prompt v0.4) ask the model to make independent tool calls in one turn, send task list updates along with real work, keep narration between tool calls to one sentence when there is something new, and scaffold new projects with the official command. npm run smoke:agent with OWUI_TASK=scaffold runs a multi-file task and prints model turns, output tokens and tool calls for comparing prompt versions.
Timings in the "OWUI Agent" output channel: each model turn shows when the first response arrived (for a local model, the time spent loading and reading the prompt) and the generation speed in tokens per second; each tool shows how long it ran and how long it waited for your approval; each run ends with a line splitting its time into model, tools and approval waits. Tool cards show the time for steps that took a second or more. The log names tools only, never their arguments.
For models on your own server (served by Ollama, or marked local), the extension warms the model up in the background when it connects and whenever the model, context size, thinking setting or session changes. Ollama loads the model and reads the agent's instructions and tool definitions before you type, so the first reply no longer waits for either (on CPU, about a minute each). The warm-up generates one token, uses the same num_ctx and think values as real requests, and is skipped while the agent runs and when the server is already warm for the same prompt. While it runs, the header shows "Loading model…" with the elapsed time and the message box says that a message sent now is answered once the model has loaded. A failed warm-up is not retried and shows as a quiet warning. Switching to a model that does not qualify cancels the wait.