CHAT-404 P0 | 资料阅读页 AI 入口传 material scope + 阅读位置 #42
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?
目标
MaterialReaderView 的 AI 对话按钮传 material scope + readingPosition。
传参
ChatEntryContext(scopeType: .material, scopeId: material.id, initialReadingPosition: currentPosition, createdFrom: .materialReader)
完成
MaterialReaderView 工具栏新增 AI 对话按钮:
注意: parentKnowledgeBaseId 暂传 nil,后续需从 Route params 或 ViewModel 获取。