diff --git a/frontend/src/lib/components/copilot/chat/AIChat.svelte b/frontend/src/lib/components/copilot/chat/AIChat.svelte index d59254f02f..cf5068b598 100644 --- a/frontend/src/lib/components/copilot/chat/AIChat.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChat.svelte @@ -17,6 +17,7 @@ forceDisabled = false, forceDisabledMessage = '', wideLayout = false, + stickyUserMessage = false, emptyHint, starter = undefined, onSent = undefined, @@ -40,6 +41,7 @@ // columns are centered in a max-w-3xl px-8 box. Sessions opt // in; the narrow global-chat panel leaves it off. wideLayout?: boolean + stickyUserMessage?: boolean emptyHint?: import('svelte').Snippet starter?: import('./starter/starterPrompts.svelte').ChatStarter onSent?: () => void @@ -212,6 +214,7 @@ {hideHeader} {hideModeSelector} {wideLayout} + {stickyUserMessage} {emptyHint} {starter} {onSent} diff --git a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte index b9ad55f215..5da330d20d 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte @@ -1,6 +1,8 @@