mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 04:49:21 +02:00
add edge case (#2216)
This commit is contained in:
@@ -66,6 +66,9 @@ export const buildDocumentSummaryDisplay = (
|
|||||||
sections.push(["...", false, false]);
|
sections.push(["...", false, false]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if (sections.length == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let previousIsContinuation = sections[0][2];
|
let previousIsContinuation = sections[0][2];
|
||||||
let previousIsBold = sections[0][1];
|
let previousIsBold = sections[0][1];
|
||||||
|
Reference in New Issue
Block a user