diff --git a/agentstack/templates/crewai/tools/dir_search_tool.py b/agentstack/templates/crewai/tools/dir_search_tool.py new file mode 100644 index 0000000..ef15362 --- /dev/null +++ b/agentstack/templates/crewai/tools/dir_search_tool.py @@ -0,0 +1,25 @@ +from crewai_tools import DirectorySearchTool + +# dir_search_tool = DirectorySearchTool( +# config=dict( +# llm=dict( +# provider="ollama", +# config=dict( +# model="llama2", +# # temperature=0.5, +# # top_p=1, +# # stream=true, +# ), +# ), +# embedder=dict( +# provider="google", +# config=dict( +# model="models/embedding-001", +# task_type="retrieval_document", +# # title="Embeddings", +# ), +# ), +# ) +# ) + +dir_search_tool = DirectorySearchTool() \ No newline at end of file diff --git a/agentstack/test/src/test/__init__.py b/agentstack/test/src/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/agentstack/tools/dir_search_tool.json b/agentstack/tools/dir_search_tool.json new file mode 100644 index 0000000..408432c --- /dev/null +++ b/agentstack/tools/dir_search_tool.json @@ -0,0 +1,6 @@ +{ + "name": "dir_search_tool", + "package": "poetry add 'crewai[tools]'", + "env": "", + "tools": ["dir_search_tool"] +} \ No newline at end of file