Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions models/z-ai/glm-5.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ params:
type: integer
label: Max tokens
description: Maximum number of tokens to generate in the response.
default: 65536
range:
min: 1
max: 131072
group: generation_length
- path: temperature
type: number
Expand Down Expand Up @@ -53,23 +51,6 @@ params:
- enabled
- disabled
group: reasoning
- path: reasoning_effort
type: enum
label: Reasoning effort
description: Controls how much reasoning effort GLM-5.2 spends when thinking is enabled.
default: max
values:
- none
- minimal
- low
- medium
- high
- xhigh
- max
group: reasoning
applicability:
only:
thinking.type: enabled
- path: response_format.type
type: enum
label: Response format
Expand Down
26 changes: 1 addition & 25 deletions packages/modelparams/src/generated/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17681,10 +17681,8 @@ export const CATALOG = [
"description": "Maximum number of tokens to generate in the response.",
"group": "generation_length",
"type": "integer",
"default": 65536,
"range": {
"min": 1,
"max": 131072
"min": 1
}
},
{
Expand Down Expand Up @@ -17743,28 +17741,6 @@ export const CATALOG = [
"disabled"
]
},
{
"path": "reasoning_effort",
"label": "Reasoning effort",
"description": "Controls how much reasoning effort GLM-5.2 spends when thinking is enabled.",
"group": "reasoning",
"applicability": {
"only": {
"thinking.type": "enabled"
}
},
"type": "enum",
"default": "max",
"values": [
"none",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
]
},
{
"path": "response_format.type",
"label": "Response format",
Expand Down
2 changes: 0 additions & 2 deletions packages/modelparams/src/generated/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1424,12 +1424,10 @@ export const DEFAULTS = {
"response_format.type": "text",
},
"z-ai/glm-5.2": {
max_tokens: 65536,
temperature: 1,
top_p: 0.95,
do_sample: true,
"thinking.type": "enabled",
reasoning_effort: "max",
"response_format.type": "text",
},
"z-ai/glm-5.2-subscription": {
Expand Down
1 change: 0 additions & 1 deletion packages/modelparams/src/generated/params-by-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,6 @@ export type ParamsById = {
top_p: number;
do_sample: boolean;
"thinking.type": "enabled" | "disabled";
reasoning_effort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
"response_format.type": "text" | "json_object";
};
"z-ai/glm-5.2-subscription": {
Expand Down
Loading