I encountered an error while trying to use the tool. This was the error: GithubSearchTool._run() missing 1 required positional argument: 'search_query'. #1247
Replies: 17 comments
-
Just cut a new verison |
Beta Was this translation helpful? Give feedback.
-
Thanks for doing that, unfortunately its still doing it with GPT4 Error:
This now my code, based on your changes
|
Beta Was this translation helpful? Give feedback.
-
I'm also encountering the same error |
Beta Was this translation helpful? Give feedback.
-
This is also affecting the directory search tool as well as the GitHub search tool |
Beta Was this translation helpful? Give feedback.
-
I have updated crewA.I. to the latest v0.28.1 7 April 2024 and it is still giving this error: |
Beta Was this translation helpful? Give feedback.
-
I can now confirm the the TXTSearchTool is also having the same issue
I am having 0 success with RAG tools |
Beta Was this translation helpful? Give feedback.
-
Same problem. Anyone found a fix? |
Beta Was this translation helpful? Give feedback.
-
This is still an issue in latest version 0.28.7 & 0.1.7 - seems to be loading the repo but then hitting a 404 This is my cofnig for the tool: custom_tool = GithubSearchTool( Also same issue with TXT tool |
Beta Was this translation helpful? Give feedback.
-
Seems you have to set search_query when initialising the tool Like so using the DirectorySearchTool as an example:
But the problem is how is the answer to this handled by the agent or task (depending where you assigned the tool). No matter what you ask it the Agent / Task prompts will override and proceed to hallucinate |
Beta Was this translation helpful? Give feedback.
-
The I was unable to make it work using the documented "synthetic" instantiation:
However, it operates correctly with the verbose instantiation mentioned by @theCyberTech here: #434 (comment) You can refer to this notebook to quickly reproduce the process: https://github.com/alexfazio/crewAI-quickstart/blob/main/crewai_sequential_GithubSearchTool_quickstart.ipynb |
Beta Was this translation helpful? Give feedback.
-
I'd also recommend testing with the new RC |
Beta Was this translation helpful? Give feedback.
-
I may be making a mistake, but I just tested with You can use this notebook to easily replicate the process with |
Beta Was this translation helpful? Give feedback.
-
I have found a workaround for now inquiry_resolution = Task( |
Beta Was this translation helpful? Give feedback.
-
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Beta Was this translation helpful? Give feedback.
-
I think I found the issue. It looks like in the RAG tools, the |
Beta Was this translation helpful? Give feedback.
-
Issue: the github RAG tool and Directory searcher RAG tool fail to work with the following error. This means that even though the data is successfully loaded into the chromaDB, it cannot operate on it therefor hallucinating results.
I have confirmed this repeatable with
-Claude Haiku
I confirmed that embedchain tools work independently run running the appropriate loaders
Below is the configuration used for the tools,
Beta Was this translation helpful? Give feedback.
All reactions