fix(web): remove StatusPanel's internal useStore to fix context issues (#28348)

This commit is contained in:
yangzheli
2025-11-20 12:50:46 +08:00
committed by GitHub
parent b2a604b801
commit a6cd2ad880
3 changed files with 7 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ export type ResultPanelProps = {
showSteps?: boolean
exceptionCounts?: number
execution_metadata?: any
isListening?: boolean
handleShowIterationResultList?: (detail: NodeTracing[][], iterDurationMap: any) => void
handleShowLoopResultList?: (detail: NodeTracing[][], loopDurationMap: any) => void
onShowRetryDetail?: (detail: NodeTracing[]) => void
@@ -65,6 +66,7 @@ const ResultPanel: FC<ResultPanelProps> = ({
showSteps,
exceptionCounts,
execution_metadata,
isListening = false,
handleShowIterationResultList,
handleShowLoopResultList,
onShowRetryDetail,
@@ -86,6 +88,7 @@ const ResultPanel: FC<ResultPanelProps> = ({
tokens={total_tokens}
error={error}
exceptionCounts={exceptionCounts}
isListening={isListening}
/>
</div>
<div className='px-4'>