mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 05:07:27 +00:00
docs(tokens): document image dimension token tradeoffs
This commit is contained in:
@@ -597,6 +597,20 @@ Max total characters injected across all workspace bootstrap files. Default: `15
|
||||
}
|
||||
```
|
||||
|
||||
### `agents.defaults.imageMaxDimensionPx`
|
||||
|
||||
Max pixel size for the longest image side in transcript/tool image blocks before provider calls.
|
||||
Default: `1200`.
|
||||
|
||||
Lower values usually reduce vision-token usage and request payload size for screenshot-heavy runs.
|
||||
Higher values preserve more visual detail.
|
||||
|
||||
```json5
|
||||
{
|
||||
agents: { defaults: { imageMaxDimensionPx: 1200 } },
|
||||
}
|
||||
```
|
||||
|
||||
### `agents.defaults.userTimezone`
|
||||
|
||||
Timezone for system prompt context (not message timestamps). Falls back to host timezone.
|
||||
|
||||
@@ -126,7 +126,7 @@ When validation fails:
|
||||
|
||||
- `agents.defaults.models` defines the model catalog and acts as the allowlist for `/model`.
|
||||
- Model refs use `provider/model` format (e.g. `anthropic/claude-opus-4-6`).
|
||||
- `agents.defaults.imageMaxDimensionPx` controls transcript/tool image downscaling (default `1200`).
|
||||
- `agents.defaults.imageMaxDimensionPx` controls transcript/tool image downscaling (default `1200`); lower values usually reduce vision-token usage on screenshot-heavy runs.
|
||||
- See [Models CLI](/concepts/models) for switching models in chat and [Model Failover](/concepts/model-failover) for auth rotation and fallback behavior.
|
||||
- For custom/self-hosted providers, see [Custom providers](/gateway/configuration-reference#custom-providers-and-base-urls) in the reference.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user