Spaces:
Sleeping
Sleeping
feat: parse markdown inside thinking blocks
Browse files- src/components/chat.tsx +3 -1
src/components/chat.tsx
CHANGED
|
@@ -69,7 +69,9 @@ function ThinkingBlock({
|
|
| 69 |
)}
|
| 70 |
</button>
|
| 71 |
{isOpen && (
|
| 72 |
-
<div className="thinking-content">
|
|
|
|
|
|
|
| 73 |
)}
|
| 74 |
</div>
|
| 75 |
);
|
|
|
|
| 69 |
)}
|
| 70 |
</button>
|
| 71 |
{isOpen && (
|
| 72 |
+
<div className="thinking-content">
|
| 73 |
+
<Markdown>{content}</Markdown>
|
| 74 |
+
</div>
|
| 75 |
)}
|
| 76 |
</div>
|
| 77 |
);
|