Skip to content

Commit 380919a

Browse files
author
Zia-Rashid
committed
started tool folder
1 parent a26ad76 commit 380919a

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from smolagents import Tool
2+
3+
@Tool
4+
def tree(query: str) -> str:
5+
"""
6+
Use tree to find directories and files relating to the component we are investigating.
7+
"""
8+
return tree(query)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from smolagents import Tool
2+
3+
@Tool
4+
def fuzzy_find(query: str) -> str:
5+
"""
6+
Use fuzzy find to find functions, classes, and variables by name patterns
7+
"""
8+
return fuzzy_find(query)

0 commit comments

Comments
 (0)