Merge pull request #6989 from Peter-De-Ath/fix-action-button

fix action buttons
This commit is contained in:
Timothy Jaeryang Baek 2024-11-16 23:44:26 -08:00 committed by GitHub
commit c24bc60d35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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);
};

View File

@ -1164,7 +1164,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}