Update content-extractor.ts
This commit is contained in:
@ -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) + "...";
|
||||||
|
Reference in New Issue
Block a user