feat: add handleQuickAction method

This commit is contained in:
Your Name 2026-04-01 11:33:41 +08:00
parent c7a0c84d69
commit 7a86325bd0

View File

@ -1018,6 +1018,12 @@ const handleQuickQuestion = (question: string) => {
handleSendMessage()
}
//
const handleQuickAction = (action: QuickAction) => {
inputMessage.value = action.message
handleSendMessage()
}
const handleConfirmation = (message: Message, confirmation: string) => {
//
if (message.selectedConfirmation !== undefined) {