From ec0e87f0c557415b600fa36e83ac3a8f1fc3a9e5 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Thu, 6 Feb 2025 14:51:16 +1100 Subject: [PATCH] simple prompt addition to have goose reflect on start (#1059) --- ui/desktop/src/components/SplashPills.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/desktop/src/components/SplashPills.tsx b/ui/desktop/src/components/SplashPills.tsx index 6b16a578..5ac24925 100644 --- a/ui/desktop/src/components/SplashPills.tsx +++ b/ui/desktop/src/components/SplashPills.tsx @@ -1,12 +1,12 @@ import React from 'react'; -function SplashPill({ content, append, className = '' }) { +function SplashPill({ content, append, className = '', longForm = '' }) { return (
{ const message = { - content, + content: longForm || content, role: 'user', }; await append(message); @@ -24,6 +24,7 @@ export default function SplashPills({ append }) { content="What can you do?" append={append} className="bg-black dark:bg-white dark:hover:bg-gray-200 text-white dark:!text-black border-none hover:bg-slate" + longForm="Look around the users system, work out what capablities/apps there are there, what tools, and what sort user they are and suggest 3 serious and 3 fun tasks based on what you find that are likely to work (present fun markdown)." />