Skip to content

Commit

Permalink
fix: backend variable for aiProvider in cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
  • Loading branch information
thschue committed Apr 4, 2023
1 parent 208541e commit 7dbab1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/analyze/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var AnalyzeCmd = &cobra.Command{
os.Exit(1)
}

aiClient := ai.NewClient("openai")
aiClient := ai.NewClient(backendType)
if err := aiClient.Configure(token, language); err != nil {
color.Red("Error: %v", err)
os.Exit(1)
Expand Down

0 comments on commit 7dbab1e

Please sign in to comment.