Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,31 @@ function Chat() {
<Empty
icon={<ChatCircleDotsIcon size={32} />}
title="Start a conversation"
description={`Try "What's the weather in Paris?", "What timezone am I in?", "Calculate 5000 * 3", or "Remind me in 5 minutes to take a break"`}
contents={
<div className="flex flex-wrap justify-center gap-2">
{[
"What's the weather in Paris?",
"What timezone am I in?",
"Calculate 5000 * 3",
"Remind me in 5 minutes to take a break"
].map((prompt) => (
<Button
key={prompt}
variant="outline"
size="sm"
disabled={isStreaming}
onClick={() => {
sendMessage({
role: "user",
parts: [{ type: "text", text: prompt }]
});
}}
>
{prompt}
</Button>
))}
</div>
}
/>
)}

Expand Down