feat #14740: transcription model choice, vocabulary and short-word corrections
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,6 +78,7 @@ pub fn start(app: &AppHandle, id: CallId, retry: bool) -> Result<(), String> {
|
||||
let opts = PipelineOptions {
|
||||
language: settings.language,
|
||||
deepscript_model: settings.deepscript_model,
|
||||
vocabulary: settings.vocabulary,
|
||||
};
|
||||
// A fresh client per run, so a key changed in the settings applies to
|
||||
// the next run.
|
||||
|
||||
@@ -647,7 +647,14 @@ impl AppState {
|
||||
let segments = self.store.segments(id).map_err(|e| e.to_string())?;
|
||||
let names = self.store.speaker_names(id).map_err(|e| e.to_string())?;
|
||||
let merges = self.store.speaker_merges(id).map_err(|e| e.to_string())?;
|
||||
let mut detail = CallDetail::of(&call, &segments, names, &merges, &self.backend_url);
|
||||
let mut detail = CallDetail::of(
|
||||
&call,
|
||||
&segments,
|
||||
names,
|
||||
&merges,
|
||||
&self.backend_url,
|
||||
&self.settings().language,
|
||||
);
|
||||
detail.uploading = self.is_uploading(id);
|
||||
Ok(detail)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user