]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
No markdown in cot (#16483)
authorPascal <redacted>
Thu, 9 Oct 2025 15:36:29 +0000 (17:36 +0200)
committerGitHub <redacted>
Thu, 9 Oct 2025 15:36:29 +0000 (17:36 +0200)
* fix: let the model think in plaintext

* chore: npm run format + npm run build

tools/server/public/index.html.gz
tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageThinkingBlock.svelte

index 8d57b4a16772acdaac0ed120ad786c5350512a6e..550df72e93c334ec409f53abeeee6ae77e46df38 100644 (file)
Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ
index 76861a66c6f23ced88817ad51155c13ae1a23aa0..9245ad515333e62897a6047dbf427b920007fb4f 100644 (file)
@@ -4,7 +4,6 @@
        import * as Collapsible from '$lib/components/ui/collapsible/index.js';
        import { buttonVariants } from '$lib/components/ui/button/index.js';
        import { Card } from '$lib/components/ui/card';
-       import { MarkdownContent } from '$lib/components/app';
        import { config } from '$lib/stores/settings.svelte';
 
        interface Props {
@@ -59,7 +58,9 @@
                <Collapsible.Content>
                        <div class="border-t border-muted px-3 pb-3">
                                <div class="pt-3">
-                                       <MarkdownContent content={reasoningContent || ''} class="text-xs leading-relaxed" />
+                                       <div class="text-xs leading-relaxed break-words whitespace-pre-wrap">
+                                               {reasoningContent ?? ''}
+                                       </div>
                                </div>
                        </div>
                </Collapsible.Content>