mirror of
https://github.com/open-webui/open-webui.git
synced 2025-10-11 13:22:41 +02:00
enh: webhook notification
This commit is contained in:
@@ -11,6 +11,7 @@ log.setLevel(SRC_LOG_LEVELS["WEBHOOK"])
|
||||
|
||||
def post_webhook(url: str, message: str, event_data: dict) -> bool:
|
||||
try:
|
||||
log.debug(f"post_webhook: {url}, {message}, {event_data}")
|
||||
payload = {}
|
||||
|
||||
# Slack and Google Chat Webhooks
|
||||
|
Reference in New Issue
Block a user