• edy's avatar
    fix(ui): show specific error reason when expert chat is not ready · 656a0cbd
    edy authored
    When ensureChatAvailable fails for expert mode, the error message
    previously used chatStatusMessage which shows "聊天服务已就绪" when
    the runtime/gateway are healthy — misleading the user when the real
    issue is project-level readiness (projectReady=false or missing
    currentProjectId).
    
    Now the error message identifies the actual failure:
    - 项目工作区未就绪 when projectReady is false
    - 未选择项目 when currentProjectId is missing
    - 本地运行时未就绪 when runtime is not running
    - 网关未连接 when gateway is not connected
    - Falls back to the original chatStatusMessage for uncovered cases
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    656a0cbd
Name
Last commit
Last update
..
AgentActivationBadge.tsx Loading commit data...
BindEntry.tsx Loading commit data...
ChatComposer.tsx Loading commit data...
ChatWorkspace.tsx Loading commit data...
ConversationNotices.tsx Loading commit data...
ConversationWorkspaceView.tsx Loading commit data...
MarkdownContent.tsx Loading commit data...
MessageList.tsx Loading commit data...
RoleTraceIcon.tsx Loading commit data...
messageTraceDisplay.ts Loading commit data...
renderChatMessageContent.tsx Loading commit data...
roleIconPaths.tsx Loading commit data...
useChatSessionsController.ts Loading commit data...
useChatStreamingController.ts Loading commit data...
useComposerAttachments.ts Loading commit data...
useComposerResize.ts Loading commit data...
useHomeIntentSuggestion.ts Loading commit data...
useMessageListAutoScroll.ts Loading commit data...
useMessageTraces.ts Loading commit data...
useProjectSessions.ts Loading commit data...
usePromptSubmission.ts Loading commit data...
useSessionMessageStore.ts Loading commit data...
useSessionMessages.ts Loading commit data...