Skip to content

Commit 8328fd4

Browse files
No markdown in cot (ggml-org#16483)
* fix: let the model think in plaintext * chore: npm run format + npm run build
1 parent 56b4795 commit 8328fd4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tools/server/public/index.html.gz

-166 Bytes
Binary file not shown.

tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageThinkingBlock.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import * as Collapsible from '$lib/components/ui/collapsible/index.js';
55
import { buttonVariants } from '$lib/components/ui/button/index.js';
66
import { Card } from '$lib/components/ui/card';
7-
import { MarkdownContent } from '$lib/components/app';
87
import { config } from '$lib/stores/settings.svelte';
98
109
interface Props {
@@ -59,7 +58,9 @@
5958
<Collapsible.Content>
6059
<div class="border-t border-muted px-3 pb-3">
6160
<div class="pt-3">
62-
<MarkdownContent content={reasoningContent || ''} class="text-xs leading-relaxed" />
61+
<div class="text-xs leading-relaxed break-words whitespace-pre-wrap">
62+
{reasoningContent ?? ''}
63+
</div>
6364
</div>
6465
</div>
6566
</Collapsible.Content>

0 commit comments

Comments
 (0)