Merge pull request #616 from buster-so/devin/BUS-1522-1753312324

Replace Paragraph with AppMarkdownStreaming in confidence score modal
This commit is contained in:
Nate Kelley 2025-07-23 23:17:22 -06:00 committed by GitHub
commit b08938e0fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 4 deletions

View File

@ -13,6 +13,7 @@ import {
} from '@/lib/messages/confidence-translations';
import { CircleCheck, OctagonWarning } from '@/components/ui/icons';
import { Pill } from '@/components/ui/pills/Pill';
import { AppMarkdownStreaming } from '@/components/ui/streaming/AppMarkdownStreaming';
type MessageAssumptionsProps = Pick<
PostProcessingMessage,
@ -149,9 +150,13 @@ const AssumptionSummary = ({
{summary_title}
</Title>
</div>
<Paragraph className="mt-2" variant={'secondary'}>
{summary_message}
</Paragraph>
<div className="mt-2">
<AppMarkdownStreaming
content={summary_message}
isStreamFinished={true}
className="text-text-secondary"
/>
</div>
</div>
);
};

View File

@ -336,7 +336,9 @@ export const CodeComponent: React.FC<
if (isInline) {
return (
//do not animate the code block
<code style={style} className={cn(className, 'bg-item-select rounded-sm border px-1')}>
<code
style={style}
className={cn(className, 'bg-item-select rounded-sm border px-1 text-sm')}>
{children}
</code>
);