Repository navigation
v0.41.26
Highlights
A bug-fix release. Each fix was reproduced on 0.41.25 first, then verified on the release candidate through the console and real agent turns.
- An image sent as
input_imagereaches the agent (#733, @eric-epsilla). It used to be kept in the turn's record and nowhere else: the request answered 200, and the agent said no image was attached. It is now written to the agent's working directory, as aninput_fileis, and shown on the turn. Measured on claude-code, pi, codex, hermes, goose and opencode with a solid red image: all six read the file, and five answered "red" outright (goose read the pixel values from the file, since its image tool would not pass them on).- Changed: an input that cannot reach the agent is now a
400 invalid_inputthat says what to send, where it used to be a 200 with the input silently dropped. This covers an image URL (the server does not fetch an address the caller picked; send a data URL or afile_id), a payload that is not base64, an inlineinput_filewith nofilename, and a part with neither data norfile_id. An empty file is still accepted.
- Changed: an input that cannot reach the agent is now a
- A provider's rate limit, an empty account or a refused model is no longer called a refused key (#734, @eric-epsilla). The failed turn says which one it was, and
error.detailgainsreason(provider_key_refused,provider_model_refused,provider_quota_exhausted,provider_rate_limited),retryable, andretry_after_secondswhen the provider named a wait. A client with automatic retries can now tell "wait" from "stop". The code staysturn_failed, and the detail carries none of the provider's text.- Gemini's per-minute limit ("exceeded your current quota … retry in 41s") is a rate limit, and TokenRouter's
insufficient_user_quotais an empty account. - A custom endpoint is called by the name you gave the connection.
- Measured through real pi and hermes turns against a provider answering each way.
- Gemini's per-minute limit ("exceeded your current quota … retry in 41s") is a rate limit, and TokenRouter's
- A database connection string with a bad port is a 400, not a 500 (#736, @leninworld). For example
postgresql://u:p@host:abc/db, port99999or port0; the message never repeats the password. The same flaw was in four more address checks, and each now refuses: an MCP server's address, a memory engine's address (a 500 on self-hosted instances), the Cloud address, and an address a provider names for a finished file. - A malformed
plugin.jsonsays where (#730, @leninworld; #725, reported by @soarkit). Installing a plugin folder used to show "Its plugin.json is not valid JSON." for every mistake. It now adds the parser's own reason and position, for example "Expected ',' or '}' after property value in JSON at position 12 (line 1 column 13)". A package sent through the API gets the same, forplugin.jsonandmcp.json, never the file's text.- The console's notices now wrap to the screen's width and stay up long enough to read. At 390 px a long notice was clipped inside a half-width pill and gone after 2.6 s.
What's Changed
- fix(gateway): reject a connection string with a bad port as 400, not 500 by @leninworld in #736
- fix(ui): say where plugin.json is malformed when a plugin folder is refused (#725) by @leninworld in #730
- An input_image reaches the agent; an image URL or an unreadable part is refused by name by @eric-epsilla in #733
- A rate limit, an empty account or a refused model is not a refused key; error.detail says why and whether a retry can succeed by @eric-epsilla in #734
Full Changelog: v0.41.25...v0.41.26