mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-14 22:52:15 +02:00
Merge pull request #1574 from CREDO23/feature-mcp-server
[Feat] MCP: Add SurfSense MCP server for scrapers, KB, and workspaces
This commit is contained in:
commit
dec4cd9a0d
28 changed files with 2547 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ async def add_extension_received_document(
|
|||
),
|
||||
(
|
||||
"CONTENT",
|
||||
["FORMAT: markdown", "TEXT_START", content.pageContent, "TEXT_END"],
|
||||
["FORMAT: markdown", "TEXT_START", content.page_content, "TEXT_END"],
|
||||
),
|
||||
]
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ async def add_extension_received_document(
|
|||
summary_embedding = embed_text(summary_content)
|
||||
|
||||
# Process chunks
|
||||
chunks = await create_document_chunks(content.pageContent)
|
||||
chunks = await create_document_chunks(content.page_content)
|
||||
|
||||
# Update or create document
|
||||
if existing_document:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue