mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat(core): peek doc in ai doc-read tool result (#13424)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced document read results with clickable cards that open a peek view of the referenced document. * Added support for displaying document identifiers in document read results. * **Bug Fixes** * Improved compatibility with older document read results that may lack a document identifier. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -57,6 +57,7 @@ export const buildDocContentGetter = (
|
||||
}
|
||||
|
||||
return {
|
||||
docId,
|
||||
title: content.title,
|
||||
markdown: content.markdown,
|
||||
createdAt: docMeta.createdAt,
|
||||
|
||||
Reference in New Issue
Block a user