Spaces:
Sleeping
Sleeping
Update market_data.py
Browse files- tools/market_data.py +2 -2
tools/market_data.py
CHANGED
|
@@ -11,8 +11,8 @@ class MarketDataInput(BaseModel):
|
|
| 11 |
|
| 12 |
# ---------- Tool ----------
|
| 13 |
class MarketDataTool(BaseTool):
|
| 14 |
-
args_schema
|
| 15 |
-
class
|
| 16 |
name = "get_market_data"
|
| 17 |
description = (
|
| 18 |
"Fetches the current market price of a cryptocurrency "
|
|
|
|
| 11 |
|
| 12 |
# ---------- Tool ----------
|
| 13 |
class MarketDataTool(BaseTool):
|
| 14 |
+
args_schema: Type[BaseModel] = MarketDataInput
|
| 15 |
+
class Config:
|
| 16 |
name = "get_market_data"
|
| 17 |
description = (
|
| 18 |
"Fetches the current market price of a cryptocurrency "
|