refactor(webui): disable React StrictMode and enhance Markdown rendering

This commit is contained in:
Xubin Ren committed 2026-05-16 08:33:15 +00:00
1 parent 2144af7cd0
commit cf09a8d691
7 files changed
+123 -34

No files matched your search

+1
View File
@@ -101,6 +101,7 @@ export function MessageBubble({
const reasoning = message.role === "assistant" ? message.reasoning ?? "" : "";
const reasoningStreaming = !!(message.role === "assistant" && message.reasoningStreaming);
const hasReasoning = reasoning.length > 0 || reasoningStreaming;
const showAssistantActions = message.role === "assistant" && !message.isStreaming && !empty;
const showCopyButton = showAssistantCopyAction && showAssistantActions;
const latencyMs = message.latencyMs;