mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 17:46:37 +08:00
fix:修复在渠道配置中设置模型重定向时,temperature为0被忽略的问题
This commit is contained in:
parent
7e51b04221
commit
c57ddbf95f
@ -35,7 +35,7 @@ type GeneralOpenAIRequest struct {
|
||||
Stop any `json:"stop,omitempty"`
|
||||
Stream bool `json:"stream,omitempty"`
|
||||
StreamOptions *StreamOptions `json:"stream_options,omitempty"`
|
||||
Temperature float64 `json:"temperature,omitempty"`
|
||||
Temperature float64 `json:"temperature"`
|
||||
TopP float64 `json:"top_p,omitempty"`
|
||||
TopK int `json:"top_k,omitempty"`
|
||||
Tools []Tool `json:"tools,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user