shitton of the ai changes

This commit is contained in:
2026-05-01 04:54:11 +03:00
parent d95c37a322
commit 8cff086a8e
194 changed files with 29409 additions and 8841 deletions
+8
View File
@@ -0,0 +1,8 @@
const OLLAMA_SPEECH_TO_TEXT_MODELS = new Set([
"gemma4:e2b",
"gemma4:e4b",
]);
export function isOllamaSpeechToTextModel(model: string | undefined | null): boolean {
return !!model && OLLAMA_SPEECH_TO_TEXT_MODELS.has(model.trim().toLowerCase());
}