add whisper-cpp to TUI with dependency check and model download

This commit is contained in:
leonardotrapani
2026-02-01 01:29:12 +01:00
parent 575b55b524
commit 973643a698
4 changed files with 128 additions and 7 deletions
+9 -5
View File
@@ -16,15 +16,19 @@ type ConfigureResult struct {
Cancelled bool
}
// AllProviders is the list of all supported providers
// AllProviders is the list of all supported cloud providers (require API keys)
var AllProviders = []string{"openai", "groq", "mistral", "elevenlabs"}
// LocalProviders is the list of local providers (no API key required)
var LocalProviders = []string{"whisper-cpp"}
// providerDisplayNames maps provider IDs to human-readable names
var providerDisplayNames = map[string]string{
"openai": "OpenAI",
"groq": "Groq",
"mistral": "Mistral",
"elevenlabs": "ElevenLabs",
"openai": "OpenAI",
"groq": "Groq",
"mistral": "Mistral",
"elevenlabs": "ElevenLabs",
"whisper-cpp": "Whisper.cpp (local)",
}
// ConfigSection represents a configuration section