mirror of
https://github.com/open-webui/open-webui
synced 2024-12-28 14:52:23 +00:00
refac
This commit is contained in:
parent
4820ecc371
commit
50db2514dc
@ -611,12 +611,12 @@ async def process_chat_response(request, response, user, events, metadata, tasks
|
||||
if webhook_url:
|
||||
post_webhook(
|
||||
webhook_url,
|
||||
f"{title} - {WEBUI_URL}/{metadata['chat_id']}\n\n{content}",
|
||||
f"{title} - {WEBUI_URL}/c/{metadata['chat_id']}\n\n{content}",
|
||||
{
|
||||
"action": "chat",
|
||||
"message": content,
|
||||
"title": title,
|
||||
"url": f"{WEBUI_URL}/{metadata['chat_id']}",
|
||||
"url": f"{WEBUI_URL}/c/{metadata['chat_id']}",
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user