ah it seems to be an issue with the tool you’re using to do web search. can you share the code for this or even example code of how you’re adding the tool in your crew.py file?
importing the tools
from crewai_tools import SerperDevTool, ScrapeWebsiteTool
serper_tool = SerperDevTool()
in the agent calling the tools as below
@agent
def code_analyst(self) → Agent:
return Agent(
config=self.agents_config[‘code_analyst’], # type: ignore[index]
tools=[SerperDevTool()],
verbose=True
)
in the calling section used all the crew agents and task
@crew
def crew(self) → Crew:
“”“Creates the Codetopostmancollection crew”“”
# To learn how to add knowledge sources to your crew, check out the documentation:
# Knowledge - CrewAI
return Crew(
agents=self.agents, # Automatically created by the @agent decorator
tasks=self.tasks, # Automatically created by the @task decorator
process=Process.sequential,
verbose=True,
# process=Process.hierarchical, # In case you wanna use that instead https://docs.crewai.com/how-to/Hierarchical/
)
There are still problems, how can I solve them?