From e7ad6e84ca915d14a78b522347f0fdfcf2473278 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sat, 30 Nov 2024 12:11:39 -0300 Subject: [PATCH] fix(llm.gblib): Fix in doc. publishing. --- packages/kb.gbapp/services/KBService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kb.gbapp/services/KBService.ts b/packages/kb.gbapp/services/KBService.ts index cd7d5844..1b1d9d1b 100644 --- a/packages/kb.gbapp/services/KBService.ts +++ b/packages/kb.gbapp/services/KBService.ts @@ -966,7 +966,7 @@ export class KBService implements IGBKBService { const childLinks = []; for (const link of filteredLinks) { - const links = await this.crawl(min, link, visited, depth + 1, maxDepth, page, websiteIgnoreUrls); + const links = await this.crawl(min, link, visited, depth + 1, maxDepth, page, websiteIgnoreUrls, maxDocuments); if (links) { childLinks.push(...links); }