feat: better language selection
This commit is contained in:
@@ -56,26 +56,6 @@ func TestNewTranscriber(t *testing.T) {
|
||||
},
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "valid groq-translation config",
|
||||
config: Config{
|
||||
Provider: "groq-translation",
|
||||
APIKey: "gsk-test-key",
|
||||
Language: "es",
|
||||
Model: "whisper-large-v3-turbo",
|
||||
},
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "groq-translation config without api key",
|
||||
config: Config{
|
||||
Provider: "groq-translation",
|
||||
APIKey: "",
|
||||
Language: "es",
|
||||
Model: "whisper-large-v3-turbo",
|
||||
},
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "valid mistral-transcription config",
|
||||
config: Config{
|
||||
|
||||
Reference in New Issue
Block a user