feat(search): remove includeCount and add infinite scroll to search dialog

This commit is contained in:
yiling
2026-06-07 17:07:38 +08:00
parent 04caafb949
commit a464499077
7 changed files with 153 additions and 131 deletions
+1 -1
View File
@@ -824,7 +824,7 @@ export async function executeAgentToolActivity(params: ExecuteAgentToolParams):
})
},
async () => prisma.asset.count({ where }),
{ first: limit, after, includeCount: true },
{ first: limit, after },
)
// return asset id, asset name, asset type, asset size (sizeByte or size)