Update content-extractor.ts

This commit is contained in:
2025-06-09 09:31:48 +09:00
committed by GitHub
parent 715b63195c
commit 4ae0068f73

View File

@ -204,7 +204,7 @@ export async function extractArticleContent(
} }
// Limit content length to avoid token limits // Limit content length to avoid token limits
const maxLength = 5000; const maxLength = 50000;
let content = extractedData.content; let content = extractedData.content;
if (content.length > maxLength) { if (content.length > maxLength) {
content = content.substring(0, maxLength) + "..."; content = content.substring(0, maxLength) + "...";