Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sklinkert committed Nov 5, 2024
1 parent 49e0a36 commit be2ac15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perplexity/perplexity.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (p *Perplexity) Call(ctx context.Context, input string) (string, error) {

var generatedText string
_, err := p.llm.GenerateContent(ctx, content,
llms.WithStreamingFunc(func(ctx context.Context, chunk []byte) error {
llms.WithStreamingFunc(func(_ context.Context, chunk []byte) error {
generatedText += string(chunk)
return nil
}))
Expand Down

0 comments on commit be2ac15

Please sign in to comment.