CoralLeiCN
commited on
Commit
·
eab656d
1
Parent(s):
9283c68
Refactor BaseballQATool: simplify description for clarity
Browse files- agent/tools.py +3 -1
agent/tools.py
CHANGED
@@ -11,7 +11,9 @@ from smolagents import Tool
|
|
11 |
|
12 |
class BaseballQATool(Tool):
|
13 |
name = "baseball_qa"
|
14 |
-
description =
|
|
|
|
|
15 |
inputs = {
|
16 |
"player_name": {
|
17 |
"type": "string",
|
|
|
11 |
|
12 |
class BaseballQATool(Tool):
|
13 |
name = "baseball_qa"
|
14 |
+
description = (
|
15 |
+
"""This tool can answer questions about baseball players information."""
|
16 |
+
)
|
17 |
inputs = {
|
18 |
"player_name": {
|
19 |
"type": "string",
|