mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix: update actionMessage to include message parameter
This commit is contained in:
parent
f5f2215348
commit
6332e46e7b
@ -273,7 +273,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
const actionMessage = async (actionId, event = null) => {
|
||||
const actionMessage = async (actionId, message, event = null) => {
|
||||
await chatActionHandler(chatId, actionId, message.model, message.id, event);
|
||||
};
|
||||
|
||||
|
@ -1166,7 +1166,7 @@
|
||||
? 'visible'
|
||||
: 'invisible group-hover:visible'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition regenerate-response-button"
|
||||
on:click={() => {
|
||||
actionMessage(action.id);
|
||||
actionMessage(action.id, message);
|
||||
}}
|
||||
>
|
||||
{#if action.icon_url}
|
||||
|
Loading…
Reference in New Issue
Block a user