File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ type ChatCompletionRequest struct {
34
34
Model string `json:"model"`
35
35
Messages []ChatCompletionMessage `json:"messages"`
36
36
MaxTokens int `json:"max_tokens,omitempty"`
37
- Temperature float32 `json:"temperature,omitempty "`
37
+ Temperature float32 `json:"temperature"`
38
38
TopP float32 `json:"top_p,omitempty"`
39
39
N int `json:"n,omitempty"`
40
40
Stream bool `json:"stream,omitempty"`
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ type CompletionRequest struct {
90
90
Prompt any `json:"prompt,omitempty"`
91
91
Suffix string `json:"suffix,omitempty"`
92
92
MaxTokens int `json:"max_tokens,omitempty"`
93
- Temperature float32 `json:"temperature,omitempty "`
93
+ Temperature float32 `json:"temperature"`
94
94
TopP float32 `json:"top_p,omitempty"`
95
95
N int `json:"n,omitempty"`
96
96
Stream bool `json:"stream,omitempty"`
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type EditsRequest struct {
12
12
Input string `json:"input,omitempty"`
13
13
Instruction string `json:"instruction,omitempty"`
14
14
N int `json:"n,omitempty"`
15
- Temperature float32 `json:"temperature,omitempty "`
15
+ Temperature float32 `json:"temperature"`
16
16
TopP float32 `json:"top_p,omitempty"`
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments