]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
webui: Fix selecting generated output issues during active streaming (#18091)
authorAleksander Grygier <redacted>
Thu, 18 Dec 2025 10:13:52 +0000 (11:13 +0100)
committerGitHub <redacted>
Thu, 18 Dec 2025 10:13:52 +0000 (11:13 +0100)
commit9ce64aed7d74f6166dc17ad1d4bd544e76735418
treecb91e9c25548d37049edda2704eb229ae031c4a6
parent900316da4e1443723d0d49835607c9fd218870e7
webui: Fix selecting generated output issues during active streaming (#18091)

* draft: incremental markdown rendering with stable blocks

* refactor: Logic improvements

* refactor: DRY Markdown post-processing logic

* refactor: ID generation improvements

* fix: Remove runes

* refactor: Clean up & add JSDocs

* chore: update webui static output

* fix: Add tick to prevent race conditions for rendering Markdown blocks

Suggestion from @ServeurpersoCom

Co-authored-by: Pascal <redacted>
* chore: Run `npm audit fix`

* chore: update webui static output

* feat: Improve performance using global counter & id instead of UUID

* refactor: Enhance Markdown rendering with link and code features

* chore: update webui static output

* fix: Code block content extraction

* chore: update webui static output

* chore: update webui static output

---------

Co-authored-by: Pascal <redacted>
tools/server/public/index.html.gz
tools/server/webui/package-lock.json
tools/server/webui/src/app.d.ts
tools/server/webui/src/lib/components/app/misc/MarkdownContent.svelte
tools/server/webui/src/lib/markdown/enhance-code-blocks.ts [new file with mode: 0644]
tools/server/webui/src/lib/markdown/enhance-links.ts [new file with mode: 0644]