diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 58f69adfb..dc76dcc6a 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "fa0729e1458063603ffacb38a526e1aad997e53f", - "syncedAt": "2026-04-26T23:56:09.662Z" + "sha": "30d9e70988607c606310024f7b5eb94605a31057", + "syncedAt": "2026-04-27T00:03:19.758Z" } diff --git a/docs/providers/ollama.md b/docs/providers/ollama.md index 68ea42d8d..339dd1d7f 100644 --- a/docs/providers/ollama.md +++ b/docs/providers/ollama.md @@ -318,6 +318,10 @@ Once configured, all your Ollama models are available: } ``` +Custom Ollama provider ids are also supported. When a model ref uses the active +provider prefix, such as `ollama-spark/qwen3:32b`, OpenClaw strips only that +prefix before calling Ollama so the server receives `qwen3:32b`. + ## Ollama Web Search OpenClaw supports **Ollama Web Search** as a bundled `web_search` provider. @@ -437,7 +441,8 @@ For the full setup and behavior details, see [Ollama Web Search](/tools/ollama-s The bundled Ollama plugin registers a memory embedding provider for [memory search](/concepts/memory). It uses the configured Ollama base URL - and API key. + and API key, calls Ollama's current `/api/embed` endpoint, and batches + multiple memory chunks into one `input` request when possible. | Property | Value | | ------------- | ------------------- | diff --git a/docs/tools/ollama-search.md b/docs/tools/ollama-search.md index 96036f62a..073cb39d7 100644 --- a/docs/tools/ollama-search.md +++ b/docs/tools/ollama-search.md @@ -78,18 +78,22 @@ If no explicit Ollama base URL is set, OpenClaw uses `http://127.0.0.1:11434`. If your Ollama host expects bearer auth, OpenClaw reuses `models.providers.ollama.apiKey` (or the matching env-backed provider auth) -for web-search requests too. +for requests to that configured host. ## Notes - No web-search-specific API key field is required for this provider. - If the Ollama host is auth-protected, OpenClaw reuses the normal Ollama provider API key when present. +- If the configured host does not expose web search and `OLLAMA_API_KEY` is set, + OpenClaw can fall back to `https://ollama.com/api/web_search` without sending + that env key to the local host. - OpenClaw warns during setup if Ollama is unreachable or not signed in, but it does not block selection. - Runtime auto-detect can fall back to Ollama Web Search when no higher-priority credentialed provider is configured. -- The provider uses Ollama's `/api/web_search` endpoint. +- The provider tries Ollama's `/api/web_search` endpoint first, then the legacy + `/api/experimental/web_search` endpoint for older hosts. ## Related