Skip to content

Commit

Permalink
Merge branch 'main' into renovate/actions-upload-artifact-digest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexsJones authored Aug 7, 2024
2 parents 28905e1 + b7e5394 commit 19bb5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ var ServeCmd = &cobra.Command{
}
}

if aiProvider.Name == "" {
if aiProvider == nil || aiProvider.Name == "" {
color.Red("Error: AI provider %s not specified in configuration. Please run k8sgpt auth", backend)
os.Exit(1)
}
Expand Down

0 comments on commit 19bb5f5

Please sign in to comment.