feat: add reasoning zai openrouter (#9189)
* feat: add reasoning zai openrouter * add openrouter reasoning * stage + publish api * openrouter reasoning always on * revert * fix * remove reference * do
This commit is contained in:
@@ -46358,12 +46358,40 @@
|
||||
],
|
||||
"title": "Response Format",
|
||||
"description": "The response format for the model."
|
||||
},
|
||||
"thinking": {
|
||||
"$ref": "#/components/schemas/ZAIThinking",
|
||||
"description": "The thinking configuration for GLM-4.5+ models.",
|
||||
"default": {
|
||||
"type": "enabled",
|
||||
"clear_thinking": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"title": "ZAIModelSettings",
|
||||
"description": "Z.ai (ZhipuAI) model configuration (OpenAI-compatible)."
|
||||
},
|
||||
"ZAIThinking": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["enabled", "disabled"],
|
||||
"title": "Type",
|
||||
"description": "Whether thinking is enabled or disabled.",
|
||||
"default": "enabled"
|
||||
},
|
||||
"clear_thinking": {
|
||||
"type": "boolean",
|
||||
"title": "Clear Thinking",
|
||||
"description": "If False, preserved thinking is used (recommended for agents).",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"title": "ZAIThinking",
|
||||
"description": "Thinking configuration for ZAI GLM-4.5+ models."
|
||||
},
|
||||
"letta__schemas__agent_file__AgentSchema": {
|
||||
"properties": {
|
||||
"name": {
|
||||
|
||||
Reference in New Issue
Block a user