Skip to content

An AI-powered search engine with a generative UI

feat: show "Reply..." placeholder for follow-up messages

Yoshiki Miura1a3eeefe82bb
diff --git a/components/chat-panel.tsx b/components/chat-panel.tsx
index 50d9ae6f..39ea41c8 100644
--- a/components/chat-panel.tsx
+++ b/components/chat-panel.tsx
@@ -261,7 +261,7 @@ export function ChatPanel({
onCompositionEnd={handleCompositionEnd}
onFocus={() => setIsInputFocused(true)}
onBlur={() => setIsInputFocused(false)}
- placeholder="Ask anything..."
+ placeholder={messages.length > 0 ? 'Reply...' : 'Ask anything...'}
spellCheck={false}
value={input}
disabled={isLoading || isToolInvocationInProgress()}