feat(models): add GLM (Zhipu AI) adaptation with dedicated provider and formatters (#2316)
### Background GLM (Zhipu AI) exposes an OpenAI-compatible Chat Completions endpoint, but previously users had to manually configure `baseUrl`, pick the right formatter from the `formatter` package, and there was no `ModelRegistry` support (no `glm:<model>` string id). The existing `GLMFormatter` also lagged behind the current Zhipu API (glm-5.2 / glm-4.7 era): several OpenAI-style parameters are rejected or silently ignored by the GLM endpoint.
L
Leeaoyin committed
9fbaaf8d814a17daccbcb54a1c7832a617fa62b1
Parent: 0617ad2
Committed by GitHub <noreply@github.com>
on 7/27/2026, 9:42:39 AM