diff --git a/proto/user.go b/proto/user.go index 7d6d4f8..4dfcbee 100644 --- a/proto/user.go +++ b/proto/user.go @@ -136,6 +136,8 @@ type UserUIConfigInfo struct { } type UserUIFunctionConfigInfo struct { - ModelID int `json:"model_id" form:"model_id" bson:"model_id"` // 模型ID,选择的模型 - SessionID int `json:"session_id" form:"session_id" bson:"session_id"` // 会话ID,上一次的会话 + ModelID int `json:"model_id" form:"model_id" bson:"model_id"` // 模型ID,选择的模型 + SessionID int `json:"session_id" form:"session_id" bson:"session_id"` // 会话ID,上一次的会话 + Temperature float32 `json:"temperature" form:"temperature" bson:"temperature"` // 温度 + TopP float32 `json:"top_p" form:"top_p" bson:"top_p"` // 采样温度 }