mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-09 22:31:10 +00:00
fix(mcp): preserve pagination in fetch-graph-data structuredContent
Keep pagination metadata in the graph view response for paginated callers and e2e tests. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
9d80b75c0d
commit
ddfc4cda23
2 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ export function register(deps: ToolDeps) {
|
|||
containerTag: effectiveTag,
|
||||
documents: data.documents,
|
||||
totalCount: data.pagination.totalItems,
|
||||
pagination: data.pagination,
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export type ViewMessage =
|
|||
documents: DocumentWithMemories[]
|
||||
totalCount: number
|
||||
containerTag?: string
|
||||
pagination?: DocumentsApiResponse["pagination"]
|
||||
}
|
||||
| {
|
||||
view: "error"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue