fix(desktop): render Markdown in Bot Mode group chat messages (fixes #88391)

This commit is contained in:
negroni334
2026-08-17 16:09:19 +03:00
committed by Teknium
parent e3eddbb934
commit cf2d28a2ff
@@ -16,6 +16,7 @@
*/
import * as sdk from '@hermes/plugin-sdk'
import { Streamdown } from 'streamdown'
import {
atom,
Button,
@@ -6491,8 +6492,8 @@ function GroupChatWorkspace({ group, members }) {
]
}),
jsx('div', {
className: 'whitespace-pre-wrap text-xs text-(--ui-text-secondary)',
children: entry.text
className: 'text-xs text-(--ui-text-secondary) [&_p]:mb-1 [&_p:last-child]:mb-0',
children: jsx(Streamdown, { children: entry.text })
})
]
}, `${entry.at}:${index}`)