docs(zai): document tool_stream defaults

This commit is contained in:
Sebastian
2026-02-17 09:22:26 -05:00
parent 7caf874546
commit 5d1bcc76cc
4 changed files with 69 additions and 85 deletions

View File

@@ -666,6 +666,7 @@ Time format in system prompt. Default: `auto` (OS preference).
Your configured aliases always win over defaults.
Z.AI GLM-4.x models automatically enable thinking mode unless you set `--thinking off` or define `agents.defaults.models["zai/<model>"].params.thinking` yourself.
Z.AI models enable `tool_stream` by default for tool call streaming. Set `agents.defaults.models["zai/<model>"].params.tool_stream` to `false` to disable it.
### `agents.defaults.cliBackends`

View File

@@ -32,5 +32,7 @@ openclaw onboard --zai-api-key "$ZAI_API_KEY"
## Notes
- GLM models are available as `zai/<model>` (example: `zai/glm-5`).
- `tool_stream` is enabled by default for Z.AI tool-call streaming. Set
`agents.defaults.models["zai/<model>"].params.tool_stream` to `false` to disable it.
- See [/providers/glm](/providers/glm) for the model family overview.
- Z.AI uses Bearer auth with your API key.