M-CHAT-A6 P2 | AIChatViewModel 死代码清理 #60
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?
发现
以下代码声明但从未使用:
private var itemIds: [String]?— 旧 API 残留,ChatScope 不再需要struct AIMessageCitation— 定义了但没有任何地方引用修复
直接删除。
涉及文件
修复
删除 itemIds 属性(旧 API 残留)和 AIMessageCitation 结构体(未使用)。
涉及: AIChatViewModel.swift