Move GLM 5.2 to 5.3
GLM 5.3 supersedes 5.2, so every reference to the older id follows it: the zai preset's opus, sonnet and fable tiers, and the fable tier of `default`, which routes to the same model through OpenRouter. Also the hardcoded Z.AI entries in both builds' model pickers, which are the one place a model id is not read from a preset - leaving those would have gone on offering a superseded model from the menu while the presets used the new one. haiku stays on glm-4.7: that is the fast/cheap tier, not a 5.x.
This commit is contained in:
+2
-2
@@ -1251,7 +1251,7 @@ function Invoke-Models {
|
||||
|
||||
if ($mode -eq 'zai') {
|
||||
Write-Head 'Z.AI GLM models (from Z.AI docs - no public catalogue endpoint)'
|
||||
@('glm-5.2 - flagship coding model (opus/sonnet tier)',
|
||||
@('glm-5.3 - flagship coding model (opus/sonnet tier)',
|
||||
'glm-4.7 - fast/cheap tier (haiku tier)') | ForEach-Object { Write-Host " $_" }
|
||||
Write-Host ' Full list: https://docs.z.ai/devpack/tool/claude'
|
||||
return
|
||||
@@ -1856,7 +1856,7 @@ function Get-ModelChoices {
|
||||
elseif ($provider -eq 'zai') {
|
||||
# Z.AI publishes no public catalogue endpoint; these are the documented
|
||||
# coding-plan models. Anything else can still be typed manually.
|
||||
$out += [pscustomobject]@{ Id = 'glm-5.2'; Key = 'glm-5.2'; Label = 'glm-5.2'; Detail = @('flagship coding model - opus/sonnet tier') }
|
||||
$out += [pscustomobject]@{ Id = 'glm-5.3'; Key = 'glm-5.3'; Label = 'glm-5.3'; Detail = @('flagship coding model - opus/sonnet tier') }
|
||||
$out += [pscustomobject]@{ Id = 'glm-4.7'; Key = 'glm-4.7'; Label = 'glm-4.7'; Detail = @('fast/cheap tier - haiku') }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user