Skip to content

Commit 9c6aead

Browse files
committed
docs(ollama): separate hosted and local search setup
1 parent 6bd531e commit 9c6aead

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

‎docs/tools/ollama-search.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Ollama host plus `ollama signin`. Direct hosted search (no local Ollama) needs
1717

1818
## Setup
1919

20+
If you already use Ollama for models, Ollama Web Search reuses the same
21+
configured host.
22+
23+
### Local Ollama
24+
2025
<Steps>
2126
<Step title="Start Ollama">
2227
Make sure Ollama is installed and running.
@@ -36,8 +41,15 @@ Ollama host plus `ollama signin`. Direct hosted search (no local Ollama) needs
3641
</Step>
3742
</Steps>
3843

39-
If you already use Ollama for models, Ollama Web Search reuses the same
40-
configured host.
44+
### Hosted Ollama
45+
46+
1. Create an [Ollama API key](https://docs.ollama.com/api/authentication#api-keys)
47+
and set `OLLAMA_API_KEY` in the Gateway environment.
48+
2. Set `models.providers.ollama.baseUrl` to `https://ollama.com`; see
49+
[Config](#config).
50+
3. Run `openclaw configure --section web` and select **Ollama Web Search**.
51+
52+
Hosted search does not require a local Ollama daemon or `ollama signin`.
4153

4254
<Note>
4355
OpenClaw never auto-selects Ollama Web Search over a higher-priority

0 commit comments

Comments
 (0)