Skip to content

Commit 9ce64ae

Browse files
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 <admin@serveurperso.com> * 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 <admin@serveurperso.com>
1 parent 900316d commit 9ce64ae

File tree

6 files changed

+448
-173
lines changed

6 files changed

+448
-173
lines changed

tools/server/public/index.html.gz

737 Bytes
Binary file not shown.

tools/server/webui/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/server/webui/src/app.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,10 @@ declare global {
124124
SettingsConfigType
125125
};
126126
}
127+
128+
declare global {
129+
interface Window {
130+
idxThemeStyle?: number;
131+
idxCodeBlock?: number;
132+
}
133+
}

0 commit comments

Comments
 (0)