修复: AI 摘要无限重试循环导致 CPU 35%,限制每次最多生成 20 个摘要
This commit is contained in:
@@ -29,6 +29,7 @@ type Model struct {
|
||||
allSessionsCache []*Session // "全部" tab 会话切片缓存
|
||||
allSessionsDirty bool // 缓存是否需要重建
|
||||
cacheDirty bool // session-cache.json 是否需要写盘
|
||||
summaryCount int // 本次会话已生成的摘要数
|
||||
}
|
||||
|
||||
func NewModel() *Model {
|
||||
|
||||
Reference in New Issue
Block a user