chore(sync): mirror docs from openclaw/openclaw@69daef8246
This commit is contained in:
parent
4a7928dbf6
commit
dff5c8c0b6
@ -1,5 +1,5 @@
|
||||
{
|
||||
"repository": "openclaw/openclaw",
|
||||
"sha": "8c18df02f3d01f36c1c94ae805724f963f4ac4b9",
|
||||
"syncedAt": "2026-04-27T01:09:05.650Z"
|
||||
"sha": "69daef8246f15bd8af6500e73f6f88210fe5d56e",
|
||||
"syncedAt": "2026-04-27T01:34:24.966Z"
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@ When you set `OLLAMA_API_KEY` (or an auth profile) and **do not** define `models
|
||||
| Behavior | Detail |
|
||||
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Catalog query | Queries `/api/tags` |
|
||||
| Capability detection | Uses best-effort `/api/show` lookups to read `contextWindow` and detect capabilities (including vision) |
|
||||
| Capability detection | Uses best-effort `/api/show` lookups to read `contextWindow`, expanded `num_ctx` Modelfile parameters, and capabilities including vision/tools |
|
||||
| Vision models | Models with a `vision` capability reported by `/api/show` are marked as image-capable (`input: ["text", "image"]`), so OpenClaw auto-injects images into the prompt |
|
||||
| Reasoning detection | Marks `reasoning` with a model-name heuristic (`r1`, `reasoning`, `think`) |
|
||||
| Token limits | Sets `maxTokens` to the default Ollama max-token cap used by OpenClaw |
|
||||
@ -399,7 +399,7 @@ For the full setup and behavior details, see [Ollama Web Search](/tools/ollama-s
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Context windows">
|
||||
For auto-discovered models, OpenClaw uses the context window reported by Ollama when available, otherwise it falls back to the default Ollama context window used by OpenClaw.
|
||||
For auto-discovered models, OpenClaw uses the context window reported by Ollama when available, including larger `PARAMETER num_ctx` values from custom Modelfiles. Otherwise it falls back to the default Ollama context window used by OpenClaw.
|
||||
|
||||
You can override `contextWindow` and `maxTokens` in explicit provider config:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user