mirror of
https://github.com/outline/outline.git
synced 2026-11-30 17:10:36 +03:00
Add summary to MCP response where available (#12241)
This commit is contained in:
1 parent
8a896ddd2d
commit
01f2643044
1 file changed
+4
@@ -95,6 +95,10 @@ async function presentDocument(
|
||||
delete res.updatedAt;
|
||||
}
|
||||
|
||||
if (document.summary) {
|
||||
res.summary = document.summary;
|
||||
}
|
||||
|
||||
if (!options.isPublic) {
|
||||
const source = document.import ?? (await document.$get("import"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user