Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix(agent-tui): slow the running-input synonym rotation to ~5s

Akarshan Biswasf5469de4ca6c
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 6c1a86e3c..2a7f515d5 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -1494,9 +1494,9 @@ const THINKING_WORDS: [&str; 6] =
["thinking", "reasoning", "pondering", "reflecting", "deliberating", "musing"];
/// Spinner frames per placeholder-word change, so the action word turns over
-/// at a readable pace (10 frames x 80ms ~= 0.8s) rather than on the braille
-/// spinner's every sub-frame.
-const WORD_ROTATE_FRAMES: usize = 10;
+/// at a relaxed pace (60 frames x 80ms ~= 4.8s) rather than shifting under
+/// the eye alongside the braille spinner.
+const WORD_ROTATE_FRAMES: usize = 60;
/// Orange used for the "thinking" action word, matching the markdown bold
/// accent so reasoning reads consistently across the TUI.