Update openai/openai.go
Co-authored-by: Michael Yang <mxyng@pm.me>
This commit is contained in:
parent
16abd181a9
commit
8c231b0826
@ -85,6 +85,7 @@ type ChatCompletionRequest struct {
|
||||
Stream bool `json:"stream"`
|
||||
StreamOptions *StreamOptions `json:"stream_options"`
|
||||
MaxCompletionTokens *int `json:"max_completion_tokens"`
|
||||
// Deprecated: Use [ChatCompletionRequest.MaxCompletionTokens]
|
||||
MaxTokens *int `json:"max_tokens" deprecated:"use max_completion_tokens instead"`
|
||||
Seed *int `json:"seed"`
|
||||
Stop any `json:"stop"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user