Update model.go with max_tokens param

This commit is contained in:
MotorBottle 2024-07-24 20:05:53 +08:00 committed by GitHub
parent 8c40a1dae0
commit 804fd7e405
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ type Options struct {
TopP float64 `json:"top_p,omitempty"`
FrequencyPenalty float64 `json:"frequency_penalty,omitempty"`
PresencePenalty float64 `json:"presence_penalty,omitempty"`
NumPredict float64 `json:"num_predict,omitempty"`
}
type Message struct {