diff --git a/ollama/_client.py b/ollama/_client.py index 799da8a..d00f028 100644 --- a/ollama/_client.py +++ b/ollama/_client.py @@ -652,7 +652,7 @@ class Client(BaseClient): return self._request( WebSearchResponse, 'POST', - 'http://localhost:8080/api/web_search', + 'https://ollama.com/api/web_search', json=WebSearchRequest( query=query, max_results=max_results, @@ -675,7 +675,7 @@ class Client(BaseClient): return self._request( WebFetchResponse, 'POST', - 'http://localhost:8080/api/web_fetch', + 'https://ollama.com/api/web_fetch', json=WebFetchRequest( url=url, ).model_dump(exclude_none=True),