mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
fix: correct variable name typo in exa_base_tool
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user