mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 10:13:44 +08:00
refactor: refactor chat model, replace mode value with mode id. refactored system config module, add seperate configration for every chat model
This commit is contained in:
@@ -8,5 +8,5 @@ type ChatRole struct {
|
||||
HelloMsg string // 打招呼的消息
|
||||
Icon string // 角色聊天图标
|
||||
Enable bool // 是否启用被启用
|
||||
Sort int //排序数字
|
||||
SortNum int //排序数字
|
||||
}
|
||||
|
||||
@@ -10,5 +10,5 @@ type ChatRole struct {
|
||||
HelloMsg string `json:"hello_msg"` // 打招呼的消息
|
||||
Icon string `json:"icon"` // 角色聊天图标
|
||||
Enable bool `json:"enable"` // 是否启用被启用
|
||||
Sort int `json:"sort"` // 排序
|
||||
SortNum int `json:"sort"` // 排序
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user