mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:10:51 +00:00
fix(ollama): align web search endpoint routing
This commit is contained in:
@@ -92,8 +92,10 @@ for requests to that configured host.
|
||||
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 tries Ollama's `/api/web_search` endpoint first, then the legacy
|
||||
`/api/experimental/web_search` endpoint for older hosts.
|
||||
- Local Ollama daemon hosts use the local proxy endpoint
|
||||
`/api/experimental/web_search`, which signs and forwards to Ollama Cloud.
|
||||
- `https://ollama.com` hosts use the public hosted endpoint
|
||||
`/api/web_search` directly with bearer API-key auth.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
Reference in New Issue
Block a user