diff --git a/apps/fabro-web/app/components/chats/sidebar-welcome.tsx b/apps/fabro-web/app/components/chats/sidebar-welcome.tsx index c8e9f1fa7..fecd7eabe 100644 --- a/apps/fabro-web/app/components/chats/sidebar-welcome.tsx +++ b/apps/fabro-web/app/components/chats/sidebar-welcome.tsx @@ -1,4 +1,10 @@ import { ThreadPrimitive } from "@assistant-ui/react"; +import { + BoltIcon, + ExclamationTriangleIcon, + LightBulbIcon, + MapIcon, +} from "@heroicons/react/16/solid"; /** * Example prompts shown on the empty Ask-Fabro thread. Each `prompt` is sent @@ -6,24 +12,28 @@ import { ThreadPrimitive } from "@assistant-ui/react"; */ const EXAMPLE_PROMPTS = [ { + Icon: ExclamationTriangleIcon, heading: "Surface errors", description: "Find errors, warnings, and failed steps in this run.", prompt: "Analyze this workflow run for any errors, exceptions, failed operations, or unexpected behavior. Include details about what went wrong, when it occurred, and potential causes or fixes.", }, { + Icon: BoltIcon, heading: "Analyze performance", description: "Spot the slowest stages and where time was spent.", prompt: "Analyze the performance of this workflow run, including tool execution times, API call latencies, timeouts, and any bottlenecks. Compare timing across similar operations and identify optimization opportunities.", }, { + Icon: MapIcon, heading: "Review key decisions", description: "Recap the important choices the agent made.", prompt: "Trace the workflow run flow, including key decision points, branching logic, tool selection reasoning, and how the assistant responded to different inputs or contexts.", }, { + Icon: LightBulbIcon, heading: "Suggest improvements", description: "Ideas to make this workflow faster and more reliable.", prompt: @@ -47,12 +57,18 @@ export default function SidebarWelcome() {