Merge branch 'main' of github.com:k8sgpt-ai/k8sgpt into feat/serve

This commit is contained in:
Thomas Schuetz
2023-04-13 13:08:27 +02:00
7 changed files with 17 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ func NewAnalysis(backend string, language string, filters []string, namespace st
os.Exit(1)
}
if len(configAI.Providers) == 0 {
if len(configAI.Providers) == 0 && explain {
color.Red("Error: AI provider not specified in configuration. Please run k8sgpt auth")
os.Exit(1)
}