Isaac454 commited on
Commit
32a1da0
·
verified ·
1 Parent(s): d59fe41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ class WebhookPostTool(Tool):
113
 
114
  DEFAULT_WEBHOOK_URL = "https://lena-homocercal-misrely.ngrok-free.dev/webhook/test"
115
 
116
- def forward(self, webhook_url: str = None, payload: str) -> str:
117
  try:
118
  response = requests.post(self.DEFAULT_WEBHOOK_URL, json={"message": message})
119
  return response.text
 
113
 
114
  DEFAULT_WEBHOOK_URL = "https://lena-homocercal-misrely.ngrok-free.dev/webhook/test"
115
 
116
+ def forward(self, message: str ) -> str:
117
  try:
118
  response = requests.post(self.DEFAULT_WEBHOOK_URL, json={"message": message})
119
  return response.text