修复session存会话ollama背景(数组)

This commit is contained in:
junleea 2025-03-24 14:55:30 +08:00
parent 269bdea1c7
commit d26e208ad6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ type Session struct {
gorm.Model
UserID int `gorm:"column:user_id"` //只能由用户创建
Name string `gorm:"column:name"`
Context []int `gorm:"column:context"` //会话上下文
Context []int `gorm:"column:context;type:json"` //会话上下文
}
type Message struct {