Skip to content

v0.41.26

Choose a tag to compare

@github-actions github-actions released this 24 Nov 08:34
18fbbda

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_image reaches 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 an input_file is, 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_input that 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 a file_id), a payload that is not base64, an inline input_file with no filename, and a part with neither data nor file_id. An empty file is still accepted.
  • 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.detail gains reason (provider_key_refused, provider_model_refused, provider_quota_exhausted, provider_rate_limited), retryable, and retry_after_seconds when the provider named a wait. A client with automatic retries can now tell "wait" from "stop". The code stays turn_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_quota is 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.
  • A database connection string with a bad port is a 400, not a 500 (#736, @leninworld). For example postgresql://u:p@host:abc/db, port 99999 or port 0; 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.json says 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, for plugin.json and mcp.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