Commit 5d3cdf6
committed
fix: restrict markdown rendering to assistant messages only
- Changed condition from 'chat.role !== "user"' to 'chat.role === "assistant"'
- Now only assistant messages will be rendered as markdown
- User messages and tool messages will display as plain text
- Provides better control over which message types use markdown rendering1 parent 686261d commit 5d3cdf6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments