Skip to content

Commit

Permalink
🔇 Turn Info() into Debug() for less logging noise
Browse files Browse the repository at this point in the history
  • Loading branch information
wesen committed Feb 2, 2023
1 parent 5efa59c commit da79bd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/steps/openai/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (o *CompletionStep) Start(ctx context.Context, prompt string) error {

prompts := []string{prompt}

evt := log.Info()
evt := log.Debug()
evt = evt.Str("engine", engine)
if o.settings.MaxResponseTokens != nil {
evt = evt.Int("max_response_tokens", *o.settings.MaxResponseTokens)
Expand Down
2 changes: 1 addition & 1 deletion pkg/steps/openai/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (c *ClientSettings) ToOptions() []gpt3.ClientOption {
}

func (c *ClientSettings) CreateClient() (gpt3.Client, error) {
evt := log.Info()
evt := log.Debug()
if c.BaseURL != nil {
evt = evt.Str("base_url", *c.BaseURL)
}
Expand Down

0 comments on commit da79bd8

Please sign in to comment.