mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-12-16 21:15:56 +08:00
fix: channel testing for reverse proxy
This commit is contained in:
@@ -44,7 +44,7 @@ type GeneralOpenAIRequest struct {
|
||||
type ChatRequest struct {
|
||||
Model string `json:"model"`
|
||||
Messages []Message `json:"messages"`
|
||||
MaxTokens int `json:"max_tokens"`
|
||||
MaxTokens *int `json:"max_tokens,omitempty"`
|
||||
Stream bool `json:"stream"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user