Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 50b92e8

Browse files
Added MaxToken into the request struct
1 parent 0adc6b0 commit 50b92e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type Request struct {
1111
N int `json:"n,omitempty"`
1212
Stream bool `json:"stream,omitempty"`
1313
Stop interface{} `json:"stop,omitempty"`
14+
MaxTokens int `json:"max_tokens,omitempty"`
1415
PresencePenalty float64 `json:"presence_penalty,omitempty"`
1516
FrequencyPenalty float64 `json:"frequency_penalty,omitempty"`
1617
LogitBias interface{} `json:"logit_bias,omitempty"`

0 commit comments

Comments
 (0)