Update content-extractor.ts
This commit is contained in:
1 parent
715b63195c
commit
4ae0068f73
1 file changed
+1
-1
@@ -204,7 +204,7 @@ export async function extractArticleContent(
|
||||
}
|
||||
|
||||
// Limit content length to avoid token limits
|
||||
const maxLength = 5000;
|
||||
const maxLength = 50000;
|
||||
let content = extractedData.content;
|
||||
if (content.length > maxLength) {
|
||||
content = content.substring(0, maxLength) + "...";
|
||||
|
||||
Reference in new issue
Block a user