MCPcopy Create free account
hub / github.com/Recordscript/recordscript / change_model

Method change_model

src-tauri/src/transcriber.rs:397–402  ·  view source on GitHub ↗
(&mut self, model: Model)

Source from the content-addressed store, hash-verified

395 }
396
397 pub fn change_model(&mut self, model: Model) {
398 self.model = model;
399
400 // Take and drop the old context
401 let _ = self.ctx.lock().unwrap().take();
402 }
403
404 pub fn change_language(&mut self, language: String) {
405 self.language = language;

Callers 1

select_modelFunction · 0.80

Calls 1

takeMethod · 0.80

Tested by

no test coverage detected