Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
batmac committed May 21, 2024
1 parent 018c829 commit a0cfced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mutators/single/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func chatgpt(w io.WriteCloser, r io.ReadCloser, conf any) (int64, error) {
req := gpt.ChatCompletionRequest{
Model: model,
Messages: []gpt.ChatCompletionMessage{
{Role: "user", Content: prePrompt + string(prompt)},
{Role: gpt.ChatMessageRoleUser, Content: prePrompt + string(prompt)},
},
MaxTokens: maxTokens,
Temperature: 0,
Expand Down

0 comments on commit a0cfced

Please sign in to comment.