Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ class WebhookPostTool(Tool):
|
|
| 52 |
"description": "The message/body nto send to the webhook"
|
| 53 |
}
|
| 54 |
}
|
| 55 |
-
output_type =
|
| 56 |
|
| 57 |
def forward(self, webhook_url: str, payload: dict) -> str:
|
| 58 |
try:
|
|
|
|
| 52 |
"description": "The message/body nto send to the webhook"
|
| 53 |
}
|
| 54 |
}
|
| 55 |
+
output_type = "string" # Must be one of SmolAgents authorized types
|
| 56 |
|
| 57 |
def forward(self, webhook_url: str, payload: dict) -> str:
|
| 58 |
try:
|