fix(ollama): align web search endpoint routing

This commit is contained in:
Peter Steinberger
2026-04-27 01:10:23 +01:00
parent b825c8d34b
commit 0f672dcc73
4 changed files with 92 additions and 30 deletions

View File

@@ -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