diff --git a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte index daf42c23e4..61147b05fc 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte @@ -71,7 +71,6 @@ import { base } from '$lib/base' import type { StarterPrompt } from '$lib/onboardingProfile' import BuildWithAIHeading from './starter/BuildWithAIHeading.svelte' - import StarterPromptChips from './starter/StarterPromptChips.svelte' import { RotatingPlaceholder } from './starter/starterPrompts.svelte' const MAX_YOLO_TOOLTIP_TOOLS = 8 @@ -145,7 +144,7 @@ wideLayout?: boolean emptyHint?: Snippet /** Open an empty chat the way Home's composer looks: the "Build with AI" heading, a - * taller box cycling through these prompts, and their chips under it. Sessions + * taller box cycling through these prompts as its placeholder. Sessions * set it so the two read as the same entry point. Replaces `emptyHint`. */ starterPrompts?: StarterPrompt[] inputPreface?: Snippet @@ -1290,11 +1289,6 @@ the panel, or the Escape-to-stop focus check would wrongly reject them. --> {/if} - {#if starterHero && starterPrompts} -
- aiChatInput?.setText(p)} /> -
- {/if} {#if (chatHost.mode === AIMode.NAVIGATOR || chatHost.mode === AIMode.ASK) && suggestions.length > 0 && messages.filter((m) => m.role === 'user').length === 0 && !disabled}
diff --git a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte index 8001cdfd41..f393573010 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte @@ -622,12 +622,6 @@ draft.text = removeMentionFromText(draft.text, title) } - /** Replace the draft's text, the way a starter prompt fills the composer. */ - export function setText(text: string) { - draft.text = text - focusInput() - } - export function focusInput() { if (isContextEnabledMode) { contextTextareaComponent?.focus()