mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 19:23:42 +08:00
When SSE setup fails (e.g. workspace permission denied for shared channel conversations opened from the web console), the failed turn is never persisted on the backend. Two issues made the failure invisible to the user: - The fallback errorInfo dropped data.message, so the inline retry card fell back to the generic "请求过程中遇到了意外问题" template instead of the actual reason. Carry rawMessage through, and lower the MessageBubble display threshold from >8 to >3 chars so short-but-informative messages (7-char Chinese / "Forbidden") aren't filtered out. - The status-poll loop in useChat overwrote the local-only failed turn with the server's "no message" view, erasing the inline retry card. Skip the merge for turns that exist only locally and are in error state, so the user can still see the failure and retry. |
||
|---|---|---|
| .. | ||
| BrowserTimeline.vue | ||
| ChatInput.vue | ||
| CompressionSummary.vue | ||
| ContentSegment.vue | ||
| index.ts | ||
| MessageBubble.vue | ||
| MessageList.vue | ||
| ModelSelector.vue | ||
| PlanStepsPanel.vue | ||
| StreamLoadingBar.vue | ||
| TalkMode.vue | ||
| ThinkingSegment.vue | ||
| ToolCallSegment.vue | ||
| TypingCursor.vue | ||
| UserMessageContent.vue | ||