agent: foundation — sync incremental changes from legacy codebase

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jake
2026-03-21 10:50:32 +00:00
parent 387e7d7acc
commit 4c0fd0aeda
10 changed files with 22 additions and 15 deletions

View File

@@ -123,6 +123,7 @@ pub async fn transcribe_pcm_parakeet(
remove_fillers: bool,
british_english: bool,
anti_hallucination: bool,
format_mode: String,
) -> Result<(), String> {
let engine = state.parakeet_engine.clone();
let audio = kon_core::AudioSamples::mono_16khz(samples);
@@ -141,7 +142,7 @@ pub async fn transcribe_pcm_parakeet(
remove_fillers,
british_english,
anti_hallucination,
format_mode: FormatMode::parse("Clean"),
format_mode: FormatMode::parse(&format_mode),
},
);