fix(ai): support Z.AI GLM-5.2 effort levels

closes #5770
This commit is contained in:
Armin Ronacher
2026-06-16 14:29:07 +02:00
parent f8a77f47f2
commit 75b0d723c0
5 changed files with 159 additions and 17 deletions

View File

@@ -4,6 +4,7 @@
### Fixed
- Fixed Z.AI GLM-5.2 thinking requests to send `reasoning_effort` with the provider's `high`/`max` effort mapping ([#5770](https://github.com/earendil-works/pi/issues/5770)).
- Fixed Google and `google-vertex` Gemini model metadata to map `latest` aliases to the current models, add Gemini 3.5 Flash for Vertex, correct Gemini 2.5 Flash Vertex cache pricing, and remove shut-down Vertex preview models ([#5761](https://github.com/earendil-works/pi/issues/5761)).
- Fixed Moonshot AI China model metadata to include Kimi K2.7 Code, and omitted unsupported thinking-off payloads for Kimi K2.7 Code models ([#5760](https://github.com/earendil-works/pi/issues/5760)).