feat: add AI research chatbot with confirmed business tools

This commit is contained in:
yuxuanhui
2026-09-07 23:02:55 +08:00
parent 3cd280d068
commit 79ab20b4ea
44 changed files with 4647 additions and 197 deletions
+5 -1
View File
@@ -17,6 +17,7 @@ export function JobPanel({
onClose,
onChange,
onAccount,
chatOffset = 0,
}: {
visible: boolean;
jobs: Job[];
@@ -24,6 +25,7 @@ export function JobPanel({
onClose: () => void;
onChange: () => void;
onAccount: () => void;
chatOffset?: number;
}) {
const [errors, setErrors] = useState<
Record<string, { alpha_id: string; error: string }[]>
@@ -46,7 +48,9 @@ export function JobPanel({
className="job-panel"
title="同步任务"
visible={visible}
width={520}
width={Math.min(520, window.innerWidth - chatOffset)}
style={{ right: chatOffset }}
maskStyle={{ right: chatOffset }}
onCancel={onClose}
>
<p className="muted">同步进度保存在服务端,关闭此面板不会中断任务。</p>