Skip to content

Release 0.4.1 - #165

Merged
hiyouga merged 3 commits into
mainfrom
dev
Jul 22, 2026
Merged

Release 0.4.1#165
hiyouga merged 3 commits into
mainfrom
dev

Conversation

@hiyouga

@hiyouga hiyouga commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Release 0.4.1 to main. Changes since 0.4.0 (see changelog/0.4.1):

🤖 Generated with Claude Code

hiyouga and others added 3 commits July 21, 2026 01:34
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…registry (#163)

Co-authored-by: Alice <alice@prismshadow.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Alice <alice@prismshadow.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 16:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release 0.4.1 to main, bundling newly added model clients (Kimi K3, Gemini 3.6 generation, GLM-5.2), a supported-model registry (USD/CNY pricing + modalities + context windows), standardized unsupported-parameter errors, and accompanying docs/changelog/version bumps.

Changes:

  • Add new Python/TypeScript clients for kimi-k3, gemini-3.6-flash / gemini-3.5-flash-lite, and glm-5.2, plus routing updates.
  • Introduce a supported-model registry (list_supported_models / listSupportedModels) and add registry smoke tests.
  • Standardize unsupported UniConfig value handling via UnsupportedParameterError, and update docs/changelogs + bump versions to 0.4.1.

Reviewed changes

Copilot reviewed 101 out of 104 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src_ts/tests/client.test.ts Updates e2e model matrix and adds registry unit test coverage.
src_ts/src/openai/client.ts Throws UnsupportedParameterError for unsupported prompt_caching.
src_ts/src/kimi_k3/index.ts Exports the new Kimi K3 TypeScript client.
src_ts/src/kimi_k2_6/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/index.ts Exposes UnsupportedParameterError and registry exports from the public API.
src_ts/src/gpt5_5/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/glm5_2/index.ts Exports the new GLM-5.2 TypeScript client.
src_ts/src/glm5_2/client.ts Adds a GLM-5.2 OpenAI-compatible streaming client with reasoning-effort support.
src_ts/src/glm5_1/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/gemini3/client.ts Switches unsupported-parameter throws to UnsupportedParameterError for prompt caching.
src_ts/src/gemini3_6/index.ts Exports the new Gemini 3.6 generation TypeScript client.
src_ts/src/errors.ts Adds UnsupportedParameterError to the TypeScript error hierarchy.
src_ts/src/deepseek_v4/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/claude5/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/claude4_6/client.ts Switches unsupported-parameter throws to UnsupportedParameterError.
src_ts/src/autoClient.ts Routes new client types (gemini-3.6, glm-5.2, kimi-k3).
src_ts/package.json Bumps TypeScript package version to 0.4.1.
src_ts/package-lock.json Updates lockfile version metadata to 0.4.1.
src_py/tests/test_client.py Updates e2e model matrix and adds registry test coverage.
src_py/pyproject.toml Bumps Python package version to 0.4.1.
src_py/agenthub/openai/client.py Raises UnsupportedParameterError for unsupported prompt_caching.
src_py/agenthub/kimi_k3/client.py Adds the new Kimi K3 Python client.
src_py/agenthub/kimi_k3/init.py Exports the new Kimi K3 Python client.
src_py/agenthub/kimi_k2_6/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/gpt5_5/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/glm5_2/client.py Adds the new GLM-5.2 Python client.
src_py/agenthub/glm5_2/init.py Exports the new GLM-5.2 Python client.
src_py/agenthub/glm5_1/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/gemini3/client.py Switches unsupported-parameter raises to UnsupportedParameterError for prompt caching.
src_py/agenthub/gemini3_6/client.py Adds the new Gemini 3.6 generation Python client.
src_py/agenthub/gemini3_6/init.py Exports the new Gemini 3.6 generation Python client.
src_py/agenthub/errors.py Adds UnsupportedParameterError to the Python error hierarchy.
src_py/agenthub/deepseek_v4/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/claude5/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/claude4_6/client.py Switches unsupported-parameter raises to UnsupportedParameterError.
src_py/agenthub/auto_client.py Routes new client types (gemini-3.6, glm-5.2, kimi-k3).
src_py/agenthub/init.py Exposes registry APIs/types and UnsupportedParameterError from the package root.
skills/agenthub-typescript/reference/models.md Updates skill model table and documents listSupportedModels().
skills/agenthub-typescript/reference/api.md Documents module-level helper and UnsupportedParameterError.
skills/agenthub-python/reference/models.md Updates skill model table and documents agenthub.list_supported_models().
skills/agenthub-python/reference/api.md Documents module-level helper and UnsupportedParameterError.
README.md Updates model matrix and documents the runtime supported-model registry.
llmsdk_docs/README.md Links new doc snapshots for Kimi K3, Gemini 3.6, and GLM-5.2.
llmsdk_docs/kimi_k3/README.md Adds Kimi K3 doc snapshot index and protocol notes.
llmsdk_docs/kimi_k3/docs/vision.md Adds Kimi K3 vision doc snapshot.
llmsdk_docs/kimi_k3/docs/tool-choice.md Adds Kimi K3 tool-choice doc snapshot.
llmsdk_docs/kimi_k3/docs/tool-calling-best-practice.md Adds Kimi K3 tool-calling best-practice doc snapshot.
llmsdk_docs/kimi_k3/docs/thinking-effort.md Adds Kimi K3 reasoning-effort doc snapshot.
llmsdk_docs/kimi_k3/docs/pricing.md Adds Kimi K3 pricing/context-window doc snapshot.
llmsdk_docs/kimi_k3/docs/models-overview.md Adds Kimi K3 parameter-compatibility doc snapshot.
llmsdk_docs/kimi_k3/docs/context-caching.md Adds Kimi K3 context-caching doc snapshot.
llmsdk_docs/glm5_2/README.md Adds GLM-5.2 doc snapshot index and protocol notes.
llmsdk_docs/glm5_2/docs/thinking.md Adds GLM-5.2 thinking doc snapshot.
llmsdk_docs/glm5_2/docs/thinking-mode.md Adds GLM-5.2 thinking-mode doc snapshot.
llmsdk_docs/glm5_2/docs/stream-tool.md Adds GLM-5.2 streaming tool-call doc snapshot.
llmsdk_docs/glm5_2/docs/migrate-to-glm-new.md Adds GLM-5.2 migration guide snapshot.
llmsdk_docs/glm5_2/docs/concept-param.md Adds GLM-5.2 core parameters snapshot.
llmsdk_docs/gemini3_6/README.md Adds Gemini 3.6 generation doc snapshot index and notes.
llmsdk_docs/gemini3_6/docs/thinking.md Adds Gemini thinking-levels snapshot.
llmsdk_docs/gemini3_6/docs/latest-model.md Adds Gemini 3.6 generation API-change snapshot.
llmsdk_docs/gemini3_6/docs/gemini-3.6-flash.md Adds Gemini 3.6 Flash model snapshot.
llmsdk_docs/gemini3_6/docs/gemini-3.5-flash-lite.md Adds Gemini 3.5 Flash-Lite snapshot (in 3.6 generation).
changelog/README.md Updates changelog structure docs to per-version folders.
changelog/0.4.1/README.md Adds 0.4.1 release summary with detail links.
changelog/0.4.1/2026-07-22-kimi-k3-gemini-3-6-registry.md Adds detailed entry for new clients/registry/error class.
changelog/0.4.0/README.md Backfills/records 0.4.0 release summary per new convention.
changelog/0.4.0/2026-07-20-reasoning-field-fidelity.md Moves/records the 0.4.0 fidelity detail under version folder.
changelog/0.4.0/2026-07-17-agenthub-dev-skill.md Moves/records the agenthub-dev skill changelog detail under version folder.
changelog/0.4.0/2026-07-14-empty-response-error.md Moves/records empty-response error detail under version folder.
changelog/0.4.0/2026-06-10-claude-5.md Moves/records Claude 5 support detail under version folder.
changelog/0.3.3/README.md Adds 0.3.3 release summary under version folder.
changelog/0.3.3/2026-06-01-openai-embedding.md Moves/records embedding support detail under version folder.
changelog/0.3.2/README.md Adds 0.3.2 release summary under version folder.
changelog/0.3.2/2026-05-30-claude-4-8-openai-compatible.md Moves/records Claude 4.8/OpenAI-compatible detail under version folder.
changelog/0.3.2/2026-05-28-abort-support-and-skills.md Moves/records abort/skills detail under version folder.
changelog/0.3.2/2026-05-27-model-refresh.md Moves/records model refresh detail under version folder.
changelog/0.3.1/README.md Adds 0.3.1 release summary under version folder.
changelog/0.3.1/2026-04-28-gemini-tts-gpt-5-5-modelverse.md Moves/records Gemini TTS/GPT-5.5 detail under version folder.
changelog/0.3.1/2026-04-22-nano-banana-2.md Moves/records Gemini image support detail under version folder.
changelog/0.3.1/2026-04-02-claude-auto-caching-tracer.md Moves/records Claude caching/tracer detail under version folder.
changelog/0.3.0/README.md Adds 0.3.0 release summary under version folder.
changelog/0.3.0/2026-03-11-gpt-5-4-phase-labels.md Moves/records GPT-5.4 phase-label detail under version folder.
changelog/0.3.0/2026-03-04-claude-4-6-adaptive-thinking.md Moves/records Claude 4.6 + adaptive thinking detail under version folder.
changelog/0.3.0/2026-02-26-claude-bedrock.md Moves/records Bedrock detail under version folder.
changelog/0.3.0/2026-02-15-openrouter-usage-fix.md Moves/records OpenRouter usage fix detail under version folder.
changelog/0.3.0/2026-02-15-claude-encrypted-thinking-fix.md Moves/records encrypted thinking fix detail under version folder.
changelog/0.3.0/2026-02-13-glm-5.md Moves/records GLM-5 detail under version folder.
changelog/0.2.0/README.md Adds 0.2.0 release summary under version folder.
changelog/0.2.0/2026-01-21-gpt-5-2-qwen3.md Moves/records GPT-5.2/Qwen3 detail under version folder.
changelog/0.2.0/2026-01-20-claude-prompt-caching.md Moves/records Claude prompt caching detail under version folder.
changelog/0.2.0/2026-01-19-claude-4-5-glm-4-7.md Moves/records Claude 4.5/GLM-4.7 detail under version folder.
changelog/0.2.0/2026-01-16-gemini-3.md Moves/records Gemini 3 detail under version folder.
CHANGELOG.md Restructures root changelog to one line per release with version links.
.agents/skills/agenthub-dev/SKILL.md Updates the dev-skill workflow guidance and adds registry guidance.
Files not reviewed (1)
  • src_ts/package-lock.json: Generated file

Comment thread src_py/agenthub/gemini3_6/client.py
@hiyouga
hiyouga merged commit 6ce0509 into main Jul 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants