From c564b34ef3a67830f3899acb008965c8a2d61683 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Mon, 27 Apr 2026 02:56:32 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@313a19c94096ab0ace247757f36030341d632376 --- .openclaw-sync/source.json | 4 ++-- docs/providers/ollama.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 9ad42270d..ef27bfb5c 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "29af4add2a8e612921e87aeb6426373e162c9d4a", - "syncedAt": "2026-04-27T02:48:15.316Z" + "sha": "313a19c94096ab0ace247757f36030341d632376", + "syncedAt": "2026-04-27T02:55:08.707Z" } diff --git a/docs/providers/ollama.md b/docs/providers/ollama.md index d7e66573e..49afb9aff 100644 --- a/docs/providers/ollama.md +++ b/docs/providers/ollama.md @@ -15,6 +15,10 @@ OpenClaw integrates with Ollama's native API (`/api/chat`) for hosted cloud mode Ollama provider config uses `baseUrl` as the canonical key. OpenClaw also accepts `baseURL` for compatibility with OpenAI SDK-style examples, but new config should prefer `baseUrl`. +Local and LAN Ollama hosts do not need a real bearer token; OpenClaw uses the local `ollama-local` marker only for loopback, private-network, `.local`, and bare-hostname Ollama base URLs. Remote public hosts and Ollama Cloud (`https://ollama.com`) require a real credential through `OLLAMA_API_KEY`, an auth profile, or the provider's `apiKey`. + +When Ollama is used for memory embeddings, bearer auth is scoped to the host where it was declared. A provider-level key is sent only to that provider's Ollama host; `agents.*.memorySearch.remote.apiKey` is sent only to its remote embedding host; and a pure `OLLAMA_API_KEY` env value is treated as the Ollama Cloud convention rather than being sent to local/self-hosted hosts by default. + ## Getting started Choose your preferred setup method and mode.