This commit is contained in:
parent
aef7b5942d
commit
087ae41e1e
|
|
@ -161,26 +161,26 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 研究深度 */}
|
{/* 研究深度 - 放大顯示 */}
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="research_depth"
|
name="research_depth"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="md:col-span-2">
|
<FormItem className="md:col-span-2">
|
||||||
<FormLabel>研究深度</FormLabel>
|
<FormLabel className="text-lg font-semibold">研究深度</FormLabel>
|
||||||
<Select
|
<Select
|
||||||
onValueChange={(value) => field.onChange(parseInt(value))}
|
onValueChange={(value) => field.onChange(parseInt(value))}
|
||||||
defaultValue={field.value.toString()}
|
defaultValue={field.value.toString()}
|
||||||
>
|
>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<SelectTrigger>
|
<SelectTrigger className="h-12 text-base">
|
||||||
<SelectValue placeholder="選擇研究深度" />
|
<SelectValue placeholder="選擇研究深度" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
<SelectItem value="1">淺層 - 快速研究,較少的譯論和策略討論</SelectItem>
|
<SelectItem value="1">淺層 - 快速研究,較少的辯論和策略討論</SelectItem>
|
||||||
<SelectItem value="3">中等 - 中等程度,適度的譯論和策略討論</SelectItem>
|
<SelectItem value="3">中等 - 中等程度,適度的辯論和策略討論</SelectItem>
|
||||||
<SelectItem value="5">深層 - 全面研究,深入的譯論和策略討論</SelectItem>
|
<SelectItem value="5">深層 - 全面研究,深入的辯論和策略討論</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
<FormDescription>
|
<FormDescription>
|
||||||
|
|
@ -225,31 +225,31 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{/* 快速思維模型 */}
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="research_depth"
|
name="shallow_thinking_agent"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>研究深度</FormLabel>
|
<FormLabel>快速思維模型</FormLabel>
|
||||||
<Select
|
<Select onValueChange={field.onChange} defaultValue={field.value}>
|
||||||
onValueChange={(value) => field.onChange(parseInt(value))}
|
|
||||||
defaultValue={field.value.toString()}
|
|
||||||
>
|
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<SelectTrigger>
|
<SelectTrigger>
|
||||||
<SelectValue placeholder="選擇深度" />
|
<SelectValue placeholder="選擇模型" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
<SelectItem value="1">1 - 快速</SelectItem>
|
<SelectItem value="gpt-5.1-2025-11-13">GPT-5.1</SelectItem>
|
||||||
<SelectItem value="2">2 - 標準</SelectItem>
|
<SelectItem value="gpt-5-mini-2025-08-07">GPT-5 Mini</SelectItem>
|
||||||
<SelectItem value="3">3 - 詳盡</SelectItem>
|
<SelectItem value="gpt-5-nano-2025-08-07">GPT-5 Nano</SelectItem>
|
||||||
<SelectItem value="4">4 - 深入</SelectItem>
|
<SelectItem value="gpt-4.1-mini">GPT-4.1 Mini</SelectItem>
|
||||||
<SelectItem value="5">5 - 全面</SelectItem>
|
<SelectItem value="gpt-4.1-nano">GPT-4.1 Nano</SelectItem>
|
||||||
|
<SelectItem value="gpt-4o">GPT-4o</SelectItem>
|
||||||
|
<SelectItem value="gpt-4o-mini">GPT-4o Mini</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
<FormDescription>
|
<FormDescription>
|
||||||
深度越高 = 辯論回合越多
|
用於快速回應的模型
|
||||||
</FormDescription>
|
</FormDescription>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
@ -287,36 +287,7 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 快速思維模型 */}
|
|
||||||
<FormField
|
|
||||||
control={form.control}
|
|
||||||
name="shallow_thinking_agent"
|
|
||||||
render={({ field }) => (
|
|
||||||
<FormItem>
|
|
||||||
<FormLabel>快速思維模型</FormLabel>
|
|
||||||
<Select onValueChange={field.onChange} defaultValue={field.value}>
|
|
||||||
<FormControl>
|
|
||||||
<SelectTrigger>
|
|
||||||
<SelectValue placeholder="選擇模型" />
|
|
||||||
</SelectTrigger>
|
|
||||||
</FormControl>
|
|
||||||
<SelectContent>
|
|
||||||
<SelectItem value="gpt-5.1-2025-11-13">GPT-5.1</SelectItem>
|
|
||||||
<SelectItem value="gpt-5-mini-2025-08-07">GPT-5 Mini</SelectItem>
|
|
||||||
<SelectItem value="gpt-5-nano-2025-08-07">GPT-5 Nano</SelectItem>
|
|
||||||
<SelectItem value="gpt-4.1-mini">GPT-4.1 Mini</SelectItem>
|
|
||||||
<SelectItem value="gpt-4.1-nano">GPT-4.1 Nano</SelectItem>
|
|
||||||
<SelectItem value="gpt-4o">GPT-4o</SelectItem>
|
|
||||||
<SelectItem value="gpt-4o-mini">GPT-4o Mini</SelectItem>
|
|
||||||
</SelectContent>
|
|
||||||
</Select>
|
|
||||||
<FormDescription>
|
|
||||||
用於快速回應的模型
|
|
||||||
</FormDescription>
|
|
||||||
<FormMessage />
|
|
||||||
</FormItem>
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* API Configuration Section */}
|
{/* API Configuration Section */}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue