ameglei-external commited on
Commit
e027c55
·
verified ·
1 Parent(s): 4399d22

Remove "name" argument for tool decorator

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -83,7 +83,6 @@ class BasicAgent:
83
  }
84
 
85
  @tool(
86
- name="search_tool",
87
  description="Search the web using DuckDuckGo and return the best result snippet.",
88
  )
89
  def search_tool(self, question: str, max_length: int = 2048) -> str:
 
83
  }
84
 
85
  @tool(
 
86
  description="Search the web using DuckDuckGo and return the best result snippet.",
87
  )
88
  def search_tool(self, question: str, max_length: int = 2048) -> str: