diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx index 02f522c..d1feca6 100644 --- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx +++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx @@ -21,6 +21,7 @@ import { InputBox } from "@/components/workspace/input-box"; import { MessageList } from "@/components/workspace/messages"; import { ThreadTitle } from "@/components/workspace/thread-title"; import { Tooltip } from "@/components/workspace/tooltip"; +import { Welcome } from "@/components/workspace/welcome"; import { useLocalSettings } from "@/core/settings"; import { type AgentThread } from "@/core/threads"; import { useSubmitThread, useThreadStream } from "@/core/threads/hooks"; @@ -125,18 +126,33 @@ export default function ChatPage() { />
- setSettings("context", context)} - onSubmit={handleSubmit} - onStop={handleStop} - /> + > +
+ +
+ setSettings("context", context)} + onSubmit={handleSubmit} + onStop={handleStop} + /> +
diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx index eddadba..ea453e8 100644 --- a/frontend/src/components/workspace/input-box.tsx +++ b/frontend/src/components/workspace/input-box.tsx @@ -12,6 +12,7 @@ import { PromptInputBody, PromptInputButton, PromptInputFooter, + PromptInputHeader, PromptInputSubmit, PromptInputTextarea, type PromptInputMessage, @@ -45,6 +46,7 @@ export function InputBox({ autoFocus, status = "ready", context, + showWelcome = false, onContextChange, onSubmit, onStop, @@ -53,6 +55,7 @@ export function InputBox({ assistantId?: string | null; status?: ChatStatus; context: Omit; + showWelcome?: boolean; onContextChange?: (context: Omit) => void; onSubmit?: (message: PromptInputMessage) => void; onStop?: () => void; @@ -94,7 +97,7 @@ export function InputBox({ return ( +
👋 Hello, again!
+
+

+ Welcome to 🦌 DeerFlow, an open source super agent. With built-in and + custom +

+

+ skills, DeerFlow helps you search on the web, analyze data, and + generate +

{" "} +

artifacts like slides, web pages and do almost anything.

+
+ + ); +}