feat: add model field for chat_item and and chat_history data table

This commit is contained in:
RockYang
2024-01-26 16:54:00 +08:00
parent 1bcd0f4c1a
commit 023a2c2f09
11 changed files with 33 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ type HistoryMessage struct {
ChatId string // 会话 ID
UserId uint // 用户 ID
RoleId uint // 角色 ID
Model string // AI模型
Type string
Icon string
Tokens int