fix(ai): align Fireworks GLM 5.2 Fast with GLM 5.2

Broaden the Fireworks GLM 5.2 special-case in generate-models.ts from
an exact id match to a glm-5p2 substring match, so the router variant
accounts/fireworks/routers/glm-5p2-fast also uses the OpenAI-compatible
endpoint and thinkingLevelMap instead of falling back to the default
Anthropic Messages config.

closes #6195
This commit is contained in:
Vegard Stikbakke
2026-07-01 10:34:46 +02:00
parent 040f0a5197
commit 844d175eaf
4 changed files with 18 additions and 6 deletions
+1
View File
@@ -5,6 +5,7 @@
### Fixed
- Fixed OpenAI Codex user-agent construction to synchronously load Node OS metadata, avoiding a startup race that could report `pi (browser)` in Node/Bun.
- Fixed Fireworks GLM 5.2 Fast to use the OpenAI-compatible endpoint and `thinkingLevelMap`, aligning it with GLM 5.2 ([#6195](https://github.com/earendil-works/pi/issues/6195)).
### Added