From 1c37158208552f3ec84d4a8f269643c3a7eeb61c Mon Sep 17 00:00:00 2001 From: theCyberTech <84775494+theCyberTech@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:58:58 +0800 Subject: [PATCH 1/2] fix: correct variable name typo in exa_base_tool --- src/crewai_tools/tools/exa_tools/exa_base_tool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/crewai_tools/tools/exa_tools/exa_base_tool.py b/src/crewai_tools/tools/exa_tools/exa_base_tool.py index 6273c5f7a..d2fe6217c 100644 --- a/src/crewai_tools/tools/exa_tools/exa_base_tool.py +++ b/src/crewai_tools/tools/exa_tools/exa_base_tool.py @@ -28,10 +28,10 @@ class EXABaseTool(BaseTool): } def _parse_results(self, results): - stirng = [] + string = [] for result in results: try: - stirng.append( + string.append( "\n".join( [ f"Title: {result['title']}", @@ -43,7 +43,7 @@ class EXABaseTool(BaseTool): ) ) except KeyError: - next + continue - content = "\n".join(stirng) + content = "\n".join(string) return f"\nSearch results: {content}\n" From cbec6d5cd797f36088ab6f3c4f8f8957c79d68b1 Mon Sep 17 00:00:00 2001 From: theCyberTech <84775494+theCyberTech@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:15:18 +0800 Subject: [PATCH 2/2] docs: fix API key reference in MultiOnTool README --- src/crewai_tools/tools/multion_tool/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crewai_tools/tools/multion_tool/README.md b/src/crewai_tools/tools/multion_tool/README.md index ea530037f..da92a0682 100644 --- a/src/crewai_tools/tools/multion_tool/README.md +++ b/src/crewai_tools/tools/multion_tool/README.md @@ -41,7 +41,7 @@ crew.kickoff() ## Arguments -- `api_key`: Specifies Browserbase API key. Defaults is the `BROWSERBASE_API_KEY` environment variable. +- `api_key`: Specifies MultiOn API key. Default is the `MULTION_API_KEY` environment variable. - `local`: Use the local flag set as "true" to run the agent locally on your browser. Make sure the multion browser extension is installed and API Enabled is checked. - `max_steps`: Optional. Set the max_steps the multion agent can take for a command @@ -51,4 +51,3 @@ To effectively use the `MultiOnTool`, follow these steps: 1. **Install CrewAI**: Confirm that the `crewai[tools]` package is installed in your Python environment. 2. **Install and use MultiOn**: Follow MultiOn documentation for installing the MultiOn Browser Extension (https://docs.multion.ai/learn/browser-extension). 3. **Enable API Usage**: Click on the MultiOn extension in the extensions folder of your browser (not the hovering MultiOn icon on the web page) to open the extension configurations. Click the API Enabled toggle to enable the API -