mirror of https://github.com/buster-so/buster.git
Merge pull request #616 from buster-so/devin/BUS-1522-1753312324
Replace Paragraph with AppMarkdownStreaming in confidence score modal
This commit is contained in:
commit
b08938e0fb
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue