feat: remove legacy configuration

This commit is contained in:
leonardotrapani
2026-02-01 23:09:33 +01:00
parent 500b84caec
commit 2729882b9d
20 changed files with 272 additions and 622 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (c *Config) Validate() error {
apiKey := c.resolveAPIKeyForProvider(c.Transcription.Provider)
if apiKey == "" {
envVar := envVarForProvider(registryName)
return fmt.Errorf("%s API key required: not found in config (providers.%s.api_key, transcription.api_key) or environment variable (%s)",
return fmt.Errorf("%s API key required: not found in config (providers.%s.api_key) or environment variable (%s)",
strings.Title(registryName), registryName, envVar)
}
}