16 | Deep Research 17 |
18 |19 | Enter a topic and answer a few questions to generate a comprehensive research report. 20 |
21 |19 | Enter a topic and answer a few questions to generate a comprehensive research report. 20 |
21 |{answers[index]}
33 |{questions[currentQuestion]}
70 | 108 | 109 | 110 |54 | {activity.message.includes("https://") ? activity.message.split("https://")[0] + 55 | activity.message.split("https://")[1].split("/")[0] : activity.message 56 | } 57 |
58 |43 | Researching your topic... 44 |
45 |
89 | {children}
90 |
91 | );
92 | },
93 | }}
94 | >
95 | {report.split("36 | Time elapsed: {seconds > 60 ? `${Math.floor(seconds / 60)}m ${seconds % 60 > 0 ? `${(seconds % 60).toString().padStart(2, '0')}s` : ''}` : `${seconds}.${milliseconds.toString().padStart(3, '0')}s`} 37 |
38 |153 | {body} 154 |
155 | ) 156 | } 157 | 158 | export { 159 | useFormField, 160 | Form, 161 | FormItem, 162 | FormLabel, 163 | FormControl, 164 | FormDescription, 165 | FormMessage, 166 | FormField, 167 | } 168 | -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | import { cn } from "@/lib/utils" 4 | 5 | function Input({ className, type, ...props }: React.ComponentProps<"input">) { 6 | return ( 7 | 18 | ) 19 | } 20 | 21 | export { Input } 22 | -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as React from "react" 4 | import * as LabelPrimitive from "@radix-ui/react-label" 5 | 6 | import { cn } from "@/lib/utils" 7 | 8 | function Label({ 9 | className, 10 | ...props 11 | }: React.ComponentProps