From 04a849a47d6e63b36536102eb39308c83fae4c70 Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Fri, 19 Dec 2025 18:18:33 -0500 Subject: [PATCH] fix(ui): enable MCP UI to send a prompt message when an element is clicked (#6207) --- ui/desktop/src/components/BaseChat.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/desktop/src/components/BaseChat.tsx b/ui/desktop/src/components/BaseChat.tsx index 8c4ed85e..22a3b9a0 100644 --- a/ui/desktop/src/components/BaseChat.tsx +++ b/ui/desktop/src/components/BaseChat.tsx @@ -276,6 +276,7 @@ function BaseChatContent({ onRenderingComplete={handleRenderingComplete} onMessageUpdate={onMessageUpdate} submitElicitationResponse={submitElicitationResponse} + append={(text: string) => handleSubmit(text)} /> );