From c0f3ceaa7d8fe3da8a65da79cbfa72336c6adeae Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Tue, 20 May 2025 20:35:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A8=A1=E5=9E=8B=E5=85=B7?= =?UTF-8?q?=E4=BD=93=E5=8F=82=E6=95=B0=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/user.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"` // 采样温度 }