chore: update suggested actions (#640)

This commit is contained in:
Jeremy 2024-12-19 17:21:07 +05:30 committed by GitHub
parent bb03c516b5
commit 8d6eb09454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,15 +16,25 @@ interface SuggestedActionsProps {
function PureSuggestedActions({ chatId, append }: SuggestedActionsProps) { function PureSuggestedActions({ chatId, append }: SuggestedActionsProps) {
const suggestedActions = [ const suggestedActions = [
{ {
title: 'What is the weather', title: 'What are the advantages',
label: 'in San Francisco?', label: 'of using Next.js?',
action: 'What is the weather in San Francisco?', action: 'What are the advantages of using Next.js?',
}, },
{ {
title: 'Write code that', title: 'Write code that',
label: `demonstrates djikstra's algorithm!`, label: `demonstrates djikstra's algorithm!`,
action: `Write code that demonstrates djikstra's algorithm!`, action: `Write code that demonstrates djikstra's algorithm!`,
}, },
{
title: 'Help me write an essay',
label: `about silicon valley!`,
action: `Help me write an essay about silicon valley!`,
},
{
title: 'What is the weather',
label: 'in San Francisco?',
action: 'What is the weather in San Francisco?',
},
]; ];
return ( return (