bwilkie commited on
Commit
aae56b9
·
verified ·
1 Parent(s): f459969

Update multiagents.py

Browse files
Files changed (1) hide show
  1. multiagents.py +1 -1
multiagents.py CHANGED
@@ -26,7 +26,7 @@ class OpenAIAgent:
26
  self.conversation_history = []
27
 
28
  def _get_tool_schema(self) -> List[Dict[str, Any]]:
29
- functions = []
30
  for tool in self.tools:
31
  # Handle smolagents @tool objects
32
  if hasattr(tool, "name") and hasattr(tool, "run"):
 
26
  self.conversation_history = []
27
 
28
  def _get_tool_schema(self) -> List[Dict[str, Any]]:
29
+ functions = []
30
  for tool in self.tools:
31
  # Handle smolagents @tool objects
32
  if hasattr(tool, "name") and hasattr(tool, "run"):