Isaac454 commited on
Commit
816f4f9
·
verified ·
1 Parent(s): c405ec6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = str # Must be one of SmolAgents authorized types
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: