Files
koboldcpp/embd_res
Tai An 7d465d2faa Fix Generate More button dead when voice_typing_mode persists without whisper (#2354)
submit_generation_button() only performed normal generation when
voice_typing_mode==0. If a session saved voice_typing_mode>0 and is then
reopened without a Whisper model loaded, the option is greyed out and
cannot be reset, so onclick fell through and did nothing while the button
was still visually a submit button - Generate More (and Submit) stopped
working.

Guard the branch with is_using_kcpp_with_whisper(), matching the pattern
already used everywhere else voice_typing_mode is checked (init, submit
button rendering, ready_to_record). When Whisper is unavailable the button
now behaves as a normal generation button regardless of the stale saved
setting. Behaviour is unchanged when Whisper is loaded.

Fixes #2353
2026-07-21 20:12:38 +08:00
..
2026-06-20 23:02:56 +08:00
2026-07-11 22:21:51 +08:00