Skip to content

Commit 48ec32e

Browse files
authored
fix: remove BinaryPath requirement for Whisper.NET provider (#66)
1 parent 65f41a5 commit 48ec32e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Features/Audio/Services/AudioConfigurationValidator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public IReadOnlyList<string> GetMissingConfiguration(AudioOptions configuration)
3535
{
3636
SttProviders.BuiltInLocal => "STT Model (required for built-in local provider)",
3737
SttProviders.OpenAI => "STT API Key and/or Model (required for OpenAI provider)",
38-
SttProviders.WhisperCpp => "Binary Path and/or Model (required for whisper.cpp provider)",
38+
SttProviders.WhisperCpp => "Model path (required for Whisper.NET provider)",
3939
_ => $"Configuration incomplete for {configuration.SttProvider} provider"
4040
});
4141
}

src/Shared/Options/AudioOptions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,10 @@ public bool IsConfigured()
193193
return !string.IsNullOrWhiteSpace(apiKey) && !string.IsNullOrWhiteSpace(model);
194194
}
195195

196-
// WhisperCpp needs binary path and model
196+
// WhisperCpp (Whisper.NET) only needs model path - no external binary required
197197
if (SttProvider == SttProviders.WhisperCpp)
198198
{
199-
var binaryPath = GetSttBinaryPath();
200-
return !string.IsNullOrWhiteSpace(binaryPath) && !string.IsNullOrWhiteSpace(model);
199+
return !string.IsNullOrWhiteSpace(model);
201200
}
202201

203202
return false;

0 commit comments

Comments
 (0)