You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf0a323
Browse filesBrowse the repository at this point in the historyBrowse files
feat(providers): add the Zhipu BigModel provider under a non-colliding id
Registers Zhipu's domestic BigModel pay-as-you-go endpoint
(open.bigmodel.cn/api/paas/v4) as `zhipu-bigmodel`, distinct from the
existing `zai` coding-plan preset.
The id matters: `glm` and `glm-cn` are already bound in
FREE_PROVIDER_DIRECTORY, and routedProviderConfig() canonicalizes a saved
provider onto the registry baseUrl. Reusing either id would silently
retarget an existing config's endpoint and send its API key to a
different host.
Metadata is complete rather than minimal: jawcodeBundle connects the
`zai` bundle so the GLM families inherit authoritative context windows,
glm-4.6's 204,800 window is declared explicitly so it survives a lookup
miss, modalities are declared per model, and the thinking toggle maps
efforts onto `thinking: {type}` instead of a rejected reasoning_effort.
liveModels is deliberately absent until someone verifies the endpoint
answers.
Co-authored-by: Lucinegogo <[email protected]>
0 commit comments