mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
openai: align chat temperature and frequency_penalty options with completion (#6688)
This commit is contained in:
@@ -102,9 +102,9 @@ func TestChatMiddleware(t *testing.T) {
|
||||
"num_predict": 999.0, // float because JSON doesn't distinguish between float and int
|
||||
"seed": 123.0,
|
||||
"stop": []any{"\n", "stop"},
|
||||
"temperature": 6.0,
|
||||
"frequency_penalty": 8.0,
|
||||
"presence_penalty": 10.0,
|
||||
"temperature": 3.0,
|
||||
"frequency_penalty": 4.0,
|
||||
"presence_penalty": 5.0,
|
||||
"top_p": 6.0,
|
||||
},
|
||||
Format: "json",
|
||||
|
||||
Reference in New Issue
Block a user