feat: refactor

This commit is contained in:
leonardotrapani
2026-02-01 17:24:43 +01:00
parent 13b1de4e04
commit 8df3021a9d
33 changed files with 1290 additions and 1577 deletions
+4 -3
View File
@@ -9,7 +9,7 @@ import (
type WhisperCppProvider struct{}
func (p *WhisperCppProvider) Name() string {
return "whisper-cpp"
return ProviderWhisperCpp
}
func (p *WhisperCppProvider) RequiresAPIKey() bool {
@@ -45,9 +45,10 @@ func (p *WhisperCppProvider) Models() []Model {
Name: wm.Name,
Description: modelDescription(wm),
Type: Transcription,
Streaming: false,
SupportsBatch: true,
SupportsStreaming: false,
Local: true,
AdapterType: "whisper-cpp",
AdapterType: AdapterWhisperCpp,
SupportedLanguages: langs,
Endpoint: nil, // local CLI, no HTTP endpoint
LocalInfo: &LocalModelInfo{