feat(startup): pre-warm default Whisper model at launch in background thread
This commit is contained in:
@@ -215,6 +215,11 @@ pub fn run() {
|
||||
db,
|
||||
});
|
||||
|
||||
{
|
||||
let whisper = app.state::<AppState>().whisper_engine.clone();
|
||||
crate::commands::models::prewarm_default_model(whisper);
|
||||
}
|
||||
|
||||
if let Err(e) = tray::setup(app) {
|
||||
eprintln!("Failed to setup tray: {e}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user