Skip to content

v26.7.4 — Agent sessions that survive, and a Model Browser that makes sense

Choose a tag to compare

@github-actions github-actions released this 09 Jul 06:27
· 1479 commits to main since this release
  • Long agent turns no longer die at five minutes. When a model spends minutes writing a large file into one tool call, the server buffers every token and sends nothing — so Node-based agents (pi, opencode, anything on fetch) hit their 300-second idle timeout, killed the connection, and threw the work away. Every streaming surface now keeps the socket alive while it thinks. Measured: a ten-minute generation that previously died after 301 seconds having delivered a single chunk now streams to completion, with a five-second worst-case gap between bytes.
  • Agent CLIs finally see your real context window. pi, opencode, and Claude Code were launched with a hardcoded 32K context and 8K output budget no matter which model was serving — so a session on a 92K-context model watched its own budget collapse and began asking for a single output token. Their configs are now written from the context the server actually advertises, and that number stops drifting: it's pinned when the model loads instead of being recomputed from free memory on every request (it wandered between 92,387 and 94,883 in one measured session). A client that omits max_tokens now gets the remaining context instead of a silent 4,096-token cap that truncated large tool calls. Settings ▸ Context size also stops conflating the three numbers it shows — the model's architectural maximum, what this Mac's memory could hold, and what the server has actually pinned and hands to agent CLIs.
  • The Model Browser is rebuilt around what you already have. A model you finished downloading used to disappear from the search results at the exact moment it succeeded. Now it stays listed, marked, with a one-click Use that loads it, and an "In use" badge on whichever model the server is really serving. The pane is organized as Discover / My Models / Downloads / Drafters instead of one list behind a "Downloaded" toggle that quietly swapped the data underneath you. My Models lists everything the app can load — including models discovered from LM Studio and your custom folder, grouped by source — rather than only what we fetched ourselves. Downloads is its own destination with a live badge, so a transfer in progress is visible from anywhere. And the Model Browser is now one click from the menu bar, without expanding the download list first.
  • Find any setting by typing. Settings gains a filter field: type "prefix cache" or "api key" and everything else folds away, matching on both the setting's name and its description. Searching a section by name — "telegram", "voice" — opens that whole section.
  • Server logs survive a crash. Every serving session now writes to ~/.mlx-serve/logs/mlx-serve-<port>.log — 32 MB, rotating, one file per port, --log-file to relocate or disable. Until now the only history lived in the app's in-memory buffer and died with the process, which is precisely when a post-mortem needs it. The in-app Server Log view holds 16× more history too (1 MB instead of 64 KB), so a model-load dump no longer scrolls an entire agent session out of view.