Skip to content

Commit

Permalink
Disabled 'Echo' parameter on deprecated completions model
Browse files Browse the repository at this point in the history
  • Loading branch information
Kardbord committed Dec 2, 2024
1 parent 28b4613 commit 66c4b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions completions/completions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ func TestCompletions(t *testing.T) {
Model: "gpt-3.5-turbo-instruct",
Prompt: []string{"So long, and thanks for all the"},
MaxTokens: 5,
Echo: true,
Echo: false,
PresencePenalty: 0.0,
FrequencyPenalty: 0.0,
BestOf: nil,
User: "https://github.com/Kardbord/gopenai",
}, nil)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions examples/completions/completions-example.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ func main() {
Model: "gpt-3.5-turbo-instruct",
Prompt: []string{prompt},
MaxTokens: 5,
Echo: true,
Echo: false,
PresencePenalty: 0.0,
FrequencyPenalty: 0.0,
BestOf: nil,
User: "https://github.com/Kardbord/gopenai",
}, nil)
if err != nil {
Expand Down

0 comments on commit 66c4b0e

Please sign in to comment.