M-CHAT-A8 P1 | 会话列表不按当前 scope 过滤 #62
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
发现
AIChatPage sessions sheet 的
.task调用listSessions()无参数,始终加载全部会话。当用户在 material scope 下时,会话列表应过滤显示当前 scope 的会话:
涉及文件
修复
ViewModel 新增 sessionListFilter 计算属性。
sessions sheet 的 .task 根据当前 scope 过滤: 有 scope → listSessions(scopeType:scopeId:),global → 全局列表。
涉及: AIChatViewModel.swift + AIChatPage.swift