mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-24 23:57:49 +00:00
fix(ai): make reasoning expand/collapse consistent across messages Replace per-message expandedReasoning Set with a global reasoningExpanded boolean ref so all messages share the same toggle state. Default to collapsed. This avoids the flip-flop where reasoning auto-expands during streaming and collapses afterward, requiring repeated manual toggles. - Replace expandedReasoning (Set<number>) with reasoningExpanded (boolean) - Remove per-index toggleReasoning; use global flip instead - Template uses reasoningExpanded instead of expandedReasoning.has(i) || msg.isThinking @
Apps
Runnable DBX applications live here.
Directories
desktop/- the Vue frontend used by the Tauri desktop app and the Docker/web build.
The Tauri native shell remains in src-tauri/ because that is the conventional Tauri project location used by the existing build and release tooling.