@agentiffai/design 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1706,7 +1706,7 @@ function createAssistantMessageAdapterWithErrorReporting(onReportIssue, Thinking
|
|
|
1706
1706
|
const errorContext = React.useMemo(() => detectErrorInMessage(content), [content]);
|
|
1707
1707
|
const chatSnippet = React.useMemo(() => {
|
|
1708
1708
|
if (!errorContext.hasError) return "";
|
|
1709
|
-
return buildChatSnippet(visibleMessages
|
|
1709
|
+
return buildChatSnippet(visibleMessages, content);
|
|
1710
1710
|
}, [visibleMessages, content, errorContext.hasError]);
|
|
1711
1711
|
const actions = React.useMemo(() => {
|
|
1712
1712
|
if (!errorContext.hasError || !onReportIssue || isGenerating) {
|