mirror of https://github.com/openclaw/openclaw.git
Add automatic thinking mode support for Z.AI GLM-4.x models:
- GLM-4.7: Preserved thinking (clear_thinking: false)
- GLM-4.5/4.6: Interleaved thinking (clear_thinking: true)
Uses Z.AI Cloud API format: thinking: { type: "enabled", clear_thinking: boolean }
Includes patches for pi-ai, pi-agent-core, and pi-coding-agent to pass
extraParams through the stream pipeline. User can override via config
or disable via --thinking off.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| cache-utils.ts | ||
| config.test.ts | ||
| config.ts | ||
| defaults.ts | ||
| group-policy.ts | ||
| io.ts | ||
| legacy-migrate.ts | ||
| legacy.ts | ||
| model-alias-defaults.test.ts | ||
| paths.test.ts | ||
| paths.ts | ||
| port-defaults.ts | ||
| schema.test.ts | ||
| schema.ts | ||
| sessions.cache.test.ts | ||
| sessions.test.ts | ||
| sessions.ts | ||
| talk.ts | ||
| types.ts | ||
| ui-seam-color.test.ts | ||
| validation.ts | ||
| zod-schema.ts | ||