mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: md repair
This commit is contained in:
parent
e5674947d5
commit
522d040715
@ -60,7 +60,7 @@ export async function fixMarkdown(
|
||||
console.log('repaired before/after', mdContent.length, result.text.length);
|
||||
|
||||
if (result.text.length < mdContent.length * 0.85) {
|
||||
console.error('repaired content is significantly shorter than original content, return original content instead.');
|
||||
console.error(`repaired content length ${result.text.length} is significantly shorter than original content ${mdContent.length}, return original content instead.`);
|
||||
return mdContent;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user