|
|
@@ -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
|