Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions webview-ui/src/components/chat/ChatRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,9 @@ export const ChatRowContent = ({
}

// Fallback for generic errors
return <ErrorRow type="error" message={message.text || t("chat:error")} />
return (
<ErrorRow type="error" message={message.text || t("chat:error")} errorDetails={message.text} />
)
case "completion_result":
return (
<>
Expand Down Expand Up @@ -1526,7 +1528,7 @@ export const ChatRowContent = ({
case "ask":
switch (message.ask) {
case "mistake_limit_reached":
return <ErrorRow type="mistake_limit" message={message.text || ""} />
return <ErrorRow type="mistake_limit" message={message.text || ""} errorDetails={message.text} />
case "command":
return (
<CommandExecution
Expand Down
2 changes: 1 addition & 1 deletion webview-ui/src/components/chat/ErrorRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useSelectedModel } from "@src/components/ui/hooks/useSelectedModel"
* Unified error display component for all error types in the chat.
* Provides consistent styling, icons, and optional documentation links across all errors.
*
* @param type - Error type determines icon and default title
* @param type - Error type determines default title
* @param title - Optional custom title (overrides default for error type)
* @param message - Error message text (required)
* @param docsURL - Optional documentation link URL (shown as "Learn more" with book icon)
Expand Down
Loading