Background
PR #118 added agent-level error display to fix the infinite spinner issue.
The implementation works correctly but has some structural improvements to make.
Tasks
Context
- strandsParser.js: 5 error categories with emoji-prefixed messages
- ChatPanel.tsx: 3 categories (retryable / conversation-limit / generic)
- Current concatenation:
currentCompletion + errorMessage may produce awkward output if partial response exists
Related
Background
PR #118 added agent-level error display to fix the infinite spinner issue.
The implementation works correctly but has some structural improvements to make.
Tasks
classifyAgentError(message))conversation_limit|throttling|timeout|not_ready|service_unavailable|genericstrandsParser.jsinto the UI layercurrentCompletion)error_codefield to backend SSE error events to reduce reliance on string matchingContext
currentCompletion + errorMessagemay produce awkward output if partial response existsRelated