Add loopInfo and onStopLoop to working status component

This commit is contained in:
2026-03-14 18:05:10 +08:00
parent 816af87ac8
commit 18c67c8a3a
2 changed files with 5 additions and 0 deletions

View File

@@ -2473,6 +2473,11 @@ export const ChatInput: React.FC<ChatInputProps> = ({ onOpenSettings, scrollToBo
wasAborted={working.wasAborted} wasAborted={working.wasAborted}
abortActive={working.abortActive} abortActive={working.abortActive}
retryInfo={working.retryInfo} retryInfo={working.retryInfo}
loopInfo={loopState ? { current: loopState.current, total: loopState.total, prompt: loopState.prompt } : null}
onStopLoop={() => {
setLoopState(null);
abortCurrentOperation();
}}
showAbortStatus={showAbortStatus} showAbortStatus={showAbortStatus}
/> />
</div> </div>

Binary file not shown.