Skip to content

Commit 1978e5c

Browse files
committed
fiter -> search
1 parent 01769f5 commit 1978e5c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stackone_ai/meta_search_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def execute_filter(arguments: str | JsonDict | None = None) -> JsonDict:
180180
)
181181

182182
# Create a wrapper class that delegates execute to our custom function
183-
class MetaFilterTool(StackOneTool):
183+
class MetaSearchTool(StackOneTool):
184184
"""Meta tool for filtering relevant tools"""
185185

186186
def __init__(self) -> None:
@@ -195,7 +195,7 @@ def __init__(self) -> None:
195195
def execute(self, arguments: str | JsonDict | None = None) -> JsonDict:
196196
return execute_filter(arguments)
197197

198-
return MetaFilterTool()
198+
return MetaSearchTool()
199199

200200

201201
def create_meta_search_tools_execute_tool(tools_collection: Tools) -> StackOneTool:

tests/test_meta_search_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_search_limit(self, sample_tools):
132132
assert len(results) <= 3
133133

134134

135-
class TestMetaFilterTool:
135+
class TestMetaSearchTool:
136136
"""Test the meta_filter_relevant_tools functionality"""
137137

138138
def test_filter_tool_creation(self, sample_tools):

0 commit comments

Comments
 (0)