Make completion result green (#195)

This commit is contained in:
Matt Rubens 2025-07-02 21:59:24 -04:00 committed by GitHub
parent 0111ee2193
commit 555b381b22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -321,7 +321,12 @@ export const Messages = ({
</div>
</div>
) : (
<div className="text-sm leading-relaxed markdown-prose">
<div
className={cn(
'text-sm leading-relaxed markdown-prose',
message.say === 'completion_result' && 'text-[#89d185]',
)}
>
<ReactMarkdown
remarkPlugins={[remarkBreaks]}
rehypePlugins={[rehypeSanitize]}