]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Fix thinking blocks with quotes + add handling `[THINK]...[/THINK]` blocks (#16326)
authorPascal <redacted>
Mon, 29 Sep 2025 16:49:47 +0000 (18:49 +0200)
committerGitHub <redacted>
Mon, 29 Sep 2025 16:49:47 +0000 (18:49 +0200)
commit5f7e166cbf7b9ca928c7fad990098ef32358ac75
tree7b889c6be0e3dd724694d3e9e837e3e4c314c468
parentd72f5f7ba260b546190338b0b76f2f152581424f
Fix thinking blocks with quotes + add handling `[THINK]...[/THINK]` blocks (#16326)

* fix: prevent reasoning blocks with quotes from being truncated

* chore: update webui build output

* feat: Improve thinking content parsing

* test: Adds ChatMessage component stories for different thinking blocks

* chore: update webui build output

* fix: ChatMessage story fix

---------

Co-authored-by: Aleksander Grygier <redacted>
tools/server/public/index.html.gz
tools/server/webui/src/lib/utils/thinking.ts
tools/server/webui/src/stories/ChatMessage.stories.svelte