Skip to content

v0.4.8

Choose a tag to compare

@hiyouga hiyouga released this 26 Aug 17:10
· 158 commits to main since this release
Immutable release. Only release title and notes can be modified.
e961af5

AgentHub 0.4.8 adds glm-5.3-flash to the registry and teaches the GLM client to read images — in a prompt and in a tool result.

Highlights

  • glm-5.3-flash reads images. GLM5_3Client sends an image_url item as an image_url content part carrying image_url.url, and a tool_result image as the same part inside the role: "tool" message, so a tool can hand the model a picture it produced. Both an HTTP(S) URL and a base64 data URL pass through unchanged, which is what the Chat Completion API accepts; a tool result without images keeps its plain-string content. The model joins the registry on the official Z.AI API with Text, Image input and a 1M context window.

  • Every other GLM model refuses an image rather than dropping it. A GLM model without vision answers an image item with GLM <model> does not support image inputs., and an image in a tool result with GLM <model> does not support images in tool results. The version match is case-insensitive, so provider-hosted ids (z-ai/glm-5.3-flash, zai-org/GLM-5.3-Flash) are recognised too, while glm-5.3, glm-5.2 and glm-5.1 are not.

  • Model lists follow. glm-5.3-flash replaced glm-5.3 as the official Z.AI entry in both E2E model lists, with image understanding enabled, and in both playground dropdowns. The three Z.AI protocol-mode entries stay on glm-5.3/glm-5.2 and the OpenRouter entry on z-ai/glm-5.3, all without image understanding. The thinking-level mapping gained a glm-5.3-flash row pinning the GLM-5.3 contract Z.AI recommends for the model (thinking.type only enabled, reasoning_effort max).

Both the Python and TypeScript implementations changed the same way.

Install

pip install agenthub-python==0.4.8
npm install @prismshadow/agenthub@0.4.8

Full detail: changelog/0.4.8/README.md