mirror of
https://github.com/open-webui/open-webui
synced 2025-01-01 08:42:14 +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:
|
if webhook_url:
|
||||||
post_webhook(
|
post_webhook(
|
||||||
webhook_url,
|
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",
|
"action": "chat",
|
||||||
"message": content,
|
"message": content,
|
||||||
"title": title,
|
"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