Diego Carpintero commited on
Commit
c0c8229
1 Parent(s): 07f569f

fix double function call

Browse files
Files changed (1) hide show
  1. minerva.py +3 -4
minerva.py CHANGED
@@ -79,8 +79,7 @@ class Minerva:
79
  name="Content_Analyst",
80
  description="Analyzes the text for scam patterns",
81
  system_message=self.config['content_agent']['assignment'],
82
- model_client=self.model,
83
- tools=[url_checker_tool]
84
  ))
85
 
86
  agents.append(AssistantAgent(
@@ -113,9 +112,9 @@ class Minerva:
113
  max_turns=6
114
  )
115
 
116
- def reset(self):
117
  """Reset team state"""
118
- self.team.reset()
119
 
120
  async def analyze(self, image: Image) -> AsyncIterator:
121
  """
 
79
  name="Content_Analyst",
80
  description="Analyzes the text for scam patterns",
81
  system_message=self.config['content_agent']['assignment'],
82
+ model_client=self.model
 
83
  ))
84
 
85
  agents.append(AssistantAgent(
 
112
  max_turns=6
113
  )
114
 
115
+ async def reset(self):
116
  """Reset team state"""
117
+ await self.team.reset()
118
 
119
  async def analyze(self, image: Image) -> AsyncIterator:
120
  """