mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
openai: fix "presence_penalty" typo and add test (#6665)
This commit is contained in:
parent
608e87bf87
commit
fe91d7fff1
2 changed files with 45 additions and 3 deletions
|
@ -79,7 +79,7 @@ type ChatCompletionRequest struct {
|
|||
Stop any `json:"stop"`
|
||||
Temperature *float64 `json:"temperature"`
|
||||
FrequencyPenalty *float64 `json:"frequency_penalty"`
|
||||
PresencePenalty *float64 `json:"presence_penalty_penalty"`
|
||||
PresencePenalty *float64 `json:"presence_penalty"`
|
||||
TopP *float64 `json:"top_p"`
|
||||
ResponseFormat *ResponseFormat `json:"response_format"`
|
||||
Tools []api.Tool `json:"tools"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue