From 78937e0679e8d48f2747b1fd80302baa9302fa4b Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Sat, 14 Mar 2026 18:06:11 +0800 Subject: [PATCH] Add loopInfo and onStopLoop to working status component --- ui/src/components/chat/ChatInput.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/src/components/chat/ChatInput.tsx b/ui/src/components/chat/ChatInput.tsx index 5607e07..31ea32c 100644 --- a/ui/src/components/chat/ChatInput.tsx +++ b/ui/src/components/chat/ChatInput.tsx @@ -2473,6 +2473,11 @@ export const ChatInput: React.FC = ({ onOpenSettings, scrollToBo wasAborted={working.wasAborted} abortActive={working.abortActive} retryInfo={working.retryInfo} + loopInfo={loopState ? { current: loopState.current, total: loopState.total, prompt: loopState.prompt } : null} + onStopLoop={() => { + setLoopState(null); + abortCurrentOperation(); + }} showAbortStatus={showAbortStatus} />