From ec61f9b7b51d0b32b1594d3e82b4ef93e4d69ad3 Mon Sep 17 00:00:00 2001 From: ParthSareen Date: Thu, 18 Sep 2025 22:49:17 -0700 Subject: [PATCH] init: fix export for web_search --- examples/web-search-crawl.py | 1 + ollama/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/web-search-crawl.py b/examples/web-search-crawl.py index 30f9be4..ac7ec51 100644 --- a/examples/web-search-crawl.py +++ b/examples/web-search-crawl.py @@ -2,6 +2,7 @@ # requires-python = ">=3.11" # dependencies = [ # "rich", +# "ollama", # ] # /// import os diff --git a/ollama/__init__.py b/ollama/__init__.py index 85d8bce..c7d6839 100644 --- a/ollama/__init__.py +++ b/ollama/__init__.py @@ -55,5 +55,5 @@ copy = _client.copy show = _client.show ps = _client.ps -websearch = _client.web_search -webcrawl = _client.web_crawl +web_search = _client.web_search +web_crawl = _client.web_crawl