You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a7f5a09
Browse filesBrowse the repository at this point in the historyBrowse files
fix(secrets): publish recovered credentials to model owners
Refresh canonical model publication at secret activation and fence
superseded publication and rollback. Carry authored SecretRef provenance
into catalog workers so resolved key and header bytes remain opaque and
writable catalog metadata remains safe.
Clarify current entry policy after human edits. Retire real-worker test
fixtures at their lifecycle boundary and replace timing-based overlap
checks with the existing barrier.
Focused regressions, type/lint guards, and isolated P1 review pass. The
full local worker suite recorded 14 passes and four 120-second timeouts;
unchanged clean-Linux and final live proof remain required before merge.
Copy file name to clipboardExpand all lines: docs/providers/ollama.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,13 +186,18 @@ ollama list
186
186
openclaw models list
187
187
```
188
188
189
-
Setting `models.providers.ollama` with an explicit `models` array, or a
190
-
custom provider with `api: "ollama"` and a non-loopback `baseUrl`, disables
191
-
auto-discovery; models must then be defined manually (see
192
-
[Configuration](#configuration)). A `models.providers.ollama` entry pointed at
193
-
hosted `https://ollama.com` also skips discovery, since Ollama Cloud models
194
-
are provider-managed. Loopback custom providers such as
195
-
`http://127.0.0.2:11434` still count as local and keep auto-discovery.
189
+
A **nonempty**`models.providers.ollama.models` list selects manual models and
190
+
skips discovery. When Ollama is in the agent's model scope, an explicit
191
+
self-hosted endpoint with `models: []` remains eligible for discovery;
192
+
`models.providers.ollama.apiKey` alone does not select that provider for Gateway
193
+
model browsing.
194
+
195
+
Hosted `https://ollama.com` entries skip discovery because Ollama Cloud models
196
+
are provider-managed. Without an explicit Ollama endpoint, a custom provider
197
+
with `api: "ollama"` and a non-loopback `baseUrl` suppresses ambient localhost
198
+
discovery; list that custom provider's models manually (see
199
+
[Configuration](#configuration)). Loopback custom providers such as
200
+
`http://127.0.0.2:11434` keep ambient local discovery eligible.
196
201
197
202
You can use a full ref such as `ollama/<pulled-model>:latest` without a
198
203
hand-written `models.json` entry; OpenClaw resolves it live. For signed-in
@@ -514,7 +519,7 @@ capability.
514
519
</Tab>
515
520
516
521
<Tabtitle="Custom base URL">
517
-
Explicit config disables auto-discovery, so models must be listed:
522
+
This example uses a nonempty manual model list, so it skips discovery:
518
523
519
524
```json5
520
525
{
@@ -564,7 +569,8 @@ Replace model IDs with exact names from `ollama list` or
564
569
openclaw models set ollama/gemma4
565
570
```
566
571
567
-
Do not add a `models.providers.ollama` block unless you need manual models.
572
+
Leave `models.providers.ollama` unset to use the default local endpoint, or
573
+
configure a self-hosted endpoint with `models: []` to keep discovery eligible.
568
574
569
575
</Accordion>
570
576
@@ -1181,8 +1187,10 @@ For full setup and behavior, see [Ollama Web Search](/tools/ollama-search).
1181
1187
</Accordion>
1182
1188
1183
1189
<Accordiontitle="Ollama not detected">
1184
-
Confirm Ollama is running, `OLLAMA_API_KEY` (or an auth profile) is set,
1185
-
and `models.providers.ollama` is **not** defined explicitly:
1190
+
Confirm Ollama is running and is in the agent's model scope. For ambient
1191
+
localhost discovery, set `OLLAMA_API_KEY` (or an auth profile). A nonempty
1192
+
manual model list skips discovery; an explicit self-hosted endpoint with
0 commit comments