feat: add AI research chatbot with confirmed business tools
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user