perf(webui): reduce repeated work and bound history rendering (#5703)

* perf(webui): reduce repeated work and bound history rendering

* fix(webui): keep continuation reasoning with its answer

* refactor(webui): reuse answer buffers and prepared copy text

* perf(webui): restore conditional replay buffer initialization

* fix(webui): remove code block pagination
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-09 14:02:26 +08:00
1 parent 1c451b5b5f
commit 1469d4811c
32 files changed
+1156 -361

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { createContext, useContext } from "react";
export const ThreadVisibilityContext = createContext(true);
export function useThreadVisibility(): boolean {
return useContext(ThreadVisibilityContext);
}