feat: remove legacy configuration
This commit is contained in:
@@ -31,10 +31,12 @@ func TestConfig() *config.Config {
|
||||
},
|
||||
Transcription: config.TranscriptionConfig{
|
||||
Provider: "openai",
|
||||
APIKey: "test-api-key",
|
||||
Language: "",
|
||||
Model: "whisper-1",
|
||||
},
|
||||
Providers: map[string]config.ProviderConfig{
|
||||
"openai": {APIKey: "test-api-key"},
|
||||
},
|
||||
Injection: config.InjectionConfig{
|
||||
Backends: []string{"ydotool", "wtype", "clipboard"},
|
||||
YdotoolTimeout: 5 * time.Second,
|
||||
@@ -61,7 +63,6 @@ func TestConfigWithInvalidValues() *config.Config {
|
||||
},
|
||||
Transcription: config.TranscriptionConfig{
|
||||
Provider: "", // Invalid
|
||||
APIKey: "", // Invalid
|
||||
Model: "", // Invalid
|
||||
},
|
||||
Injection: config.InjectionConfig{
|
||||
|
||||
Reference in New Issue
Block a user