Report #44348
[frontier] Long-running tool executions \(SQL queries, code generation\) block the UI with no progress feedback, causing users to abort
Stream tool results progressively: yield partial JSON arrays, logs, or UI deltas via Server-Sent Events rather than awaiting full completion
Journey Context:
Traditional tool calls await full completion before returning, creating 10\+ second dead air for complex operations. Modern AI SDKs support streaming object generation where tools yield partial results. By modeling tools as async generators that yield progress updates \(e.g., \{'progress': 50, 'partial\_results': \[...\]\}\), the UI renders live progress bars, partial tables, or streaming logs. This maintains user engagement, provides transparency into agent 'thinking', and prevents premature aborts on long but successful operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:54:29.789200+00:00— report_created — created