From 3e04422df69af221d9836d28e9709fd40d38ee2b Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Tue, 10 Feb 2026 22:41:07 +0800 Subject: [PATCH] feat(desktop): use interactive sample prompts in Try It step Replace simple prompts with ones that demonstrate real agent capabilities: web search, project analysis, and shell execution. Co-Authored-By: Claude Opus 4.6 --- .../renderer/src/pages/onboarding/try-it.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx b/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx index 90e3108d..6ca1f21e 100644 --- a/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx +++ b/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx @@ -10,16 +10,19 @@ import { useLocalChat } from '../../hooks/use-local-chat' const samplePrompts = [ { - title: 'Say hello', - prompt: 'Say hello and briefly introduce yourself in 2-3 sentences.', + title: 'Latest AI news', + prompt: + "Search the web for today's top AI news and give me a 3-bullet summary with sources.", }, { - title: 'Write a haiku', - prompt: 'Write a haiku about coding.', + title: 'Analyze this project', + prompt: + 'Look at the files in my current directory and give me a brief summary of what this project is about.', }, { - title: 'Quick math', - prompt: "What's 123 × 456? Show your reasoning.", + title: 'Quick task', + prompt: + 'Write a one-liner shell command that shows my system info (OS, CPU cores, memory) and run it.', }, ] @@ -71,8 +74,8 @@ export default function TryItStep() { Try it out

- Click a prompt below to send it to your agent, or type your own - message in the chat. + Your agent can search the web, read files, and run commands. + Click a prompt to see it in action.