| … | … | @@ -1460,14 +1462,21 @@ export default function ChatView(props: ChatViewProps) { | |
| 1470 | + | phase === "running" || | |
| 1471 | + | isSendBusy || | |
| 1472 | + | isCompacting || | |
| 1473 | + | isWaitingOnBackgroundWork || | |
🟡 Medium components/ChatView.tsx:1473
When an awaited background task is pending, including it in isWorking makes useThreadLifecycle filter pendingBackgroundTasks to []; backgroundWorkNowItem then returns null, hiding the Waiting/task-details banner and its Stop action while the task is still running. Keep the composer/follow-up working state separate from the isWorking value used to present background tasks.
🤖 Copy this AI Prompt to have your agent fix this:
| 1 | In file @apps/web/src/components/ChatView.tsx around line 1473: |
| 2 | |
| 3 | When an awaited background task is pending, including it in `isWorking` makes `useThreadLifecycle` filter `pendingBackgroundTasks` to `[]`; `backgroundWorkNowItem` then returns `null`, hiding the Waiting/task-details banner and its Stop action while the task is still running. Keep the composer/follow-up working state separate from the `isWorking` value used to present background tasks. |
Note
🤖 Composer responding on behalf of wSedlacek
Fixed in 9d0acf4. isWaitingOnBackgroundWork stays a composer-only signal and is no longer folded into isWorking, so useThreadLifecycle still presents the Waiting banner and Stop action.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.