Skip to content

Commit a21723e

Browse files
committed
updated url
1 parent a43ac84 commit a21723e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ollama/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ async def websearch(self, query: str, max_results: int = 3) -> WebSearchResponse
751751
return await self._request(
752752
WebSearchResponse,
753753
'POST',
754-
'/api/web_search',
754+
'https://ollama.com/api/web_search',
755755
json=WebSearchRequest(
756756
query=query,
757757
max_results=max_results,
@@ -771,7 +771,7 @@ async def webfetch(self, url: str) -> WebFetchResponse:
771771
return await self._request(
772772
WebFetchResponse,
773773
'POST',
774-
'/api/web_fetch',
774+
'https://ollama.com/api/web_fetch',
775775
json=WebFetchRequest(
776776
url=url,
777777
).model_dump(exclude_none=True),

0 commit comments

Comments
 (0)