Add loopInfo and onStopLoop to working status component
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user