Skip to content

Commit

Permalink
#29: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger12 committed Dec 21, 2023
1 parent fd9e21a commit c7d341c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/openai/openaiclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Client struct {
// - error: An error if the client creation failed.
func OpenAiClient(poolName string, modelName string, payload []byte) (*Client, error) {

Check warning on line 56 in pkg/providers/openai/openaiclient.go

View workflow job for this annotation

GitHub Actions / Static Checks

exported: func name will be used as openai.OpenAiClient by other packages, and that stutters; consider calling this Client (revive)
// Read the YAML file
data, err := os.ReadFile("/Users/max/code/Glide/config.yaml")
data, err := os.ReadFile("config.yaml") // TODO: How will this be accessed? Does it have to be read each time?
if err != nil {
return nil, fmt.Errorf("failed to read YAML file: %w", err)
}
Expand Down

0 comments on commit c7d341c

Please sign in to comment.