openai: don't scale temperature or frequency_penalty (#6514)

This commit is contained in:
Yaroslav 2024-09-07 02:45:45 +02:00 committed by GitHub
parent 8a027bc401
commit da915345d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -275,7 +275,7 @@ func TestCompletionsMiddleware(t *testing.T) {
Options: map[string]any{
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"temperature": 1.6,
"temperature": 0.8,
"top_p": 1.0,
"stop": []any{"\n", "stop"},
},