feat: allow bind a chat model for chat role

This commit is contained in:
RockYang
2024-04-05 12:51:18 +08:00
parent 6a3e26b566
commit 8be9a21efd
10 changed files with 114 additions and 48 deletions

View File

@@ -9,4 +9,5 @@ type ChatRole struct {
Icon string // 角色聊天图标
Enable bool // 是否启用被启用
SortNum int //排序数字
ModelId int // 绑定模型ID绑定模型ID的角色只能用指定的模型来问答
}