From df9279469e5427eb505b957b5083197daa49818b Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Thu, 2 Apr 2026 09:09:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8F=96=E6=B6=88suggestion=E7=9A=84?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/workspace/input-box.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx index 40843ae7..5ae0be1d 100644 --- a/frontend/src/components/workspace/input-box.tsx +++ b/frontend/src/components/workspace/input-box.tsx @@ -263,6 +263,8 @@ export function InputBox({ }, [pendingSuggestion, requestFormSubmit, textInput]); useEffect(() => { + /* + // 暂时禁用 suggestions 接口(/api/threads/{thread_id}/suggestions) if (!threadId || isNewThread || disabled) return; const controller = new AbortController(); setFollowupsHidden(false); @@ -289,6 +291,7 @@ export function InputBox({ .finally(() => setFollowupsLoading(false)); return () => controller.abort(); + */ }, [disabled, isNewThread, threadId]); return (