fix(llm.gblib): Fix in doc. publishing.

This commit is contained in:
Rodrigo Rodriguez 2024-11-30 12:11:39 -03:00
parent 46248d4eef
commit e7ad6e84ca

View file

@ -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);
}