Remove "name" argument for tool decorator
Browse files
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:
|