fix(app): show retry status only on active turn (#11543)
parent
d1d7447493
commit
3e67104257
|
|
@ -398,6 +398,8 @@ export function SessionTurn(
|
|||
const status = createMemo(() => data.store.session_status[props.sessionID] ?? idle)
|
||||
const working = createMemo(() => status().type !== "idle" && isLastUserMessage())
|
||||
const retry = createMemo(() => {
|
||||
// session_status is session-scoped; only show retry on the active (last) turn
|
||||
if (!isLastUserMessage()) return
|
||||
const s = status()
|
||||
if (s.type !== "retry") return
|
||||
return s
|
||||
|
|
|
|||
Loading…
Reference in New Issue