Letta · Schema

ZAIThinking

Thinking configuration for ZAI GLM-4.5+ models.

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
type string Whether thinking is enabled or disabled.
clear_thinking boolean If False, preserved thinking is used (recommended for agents).
View JSON Schema on GitHub

JSON Schema

letta-zaithinking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ZAIThinking",
  "title": "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",
  "description": "Thinking configuration for ZAI GLM-4.5+ models."
}