Skip to content

Commit 5a648f3

Browse files
author
Sainadh Devireddy
committed
Set pageContent correctly
1 parent 409c811 commit 5a648f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/search/metaSearchAgent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ class MetaSearchAgent implements MetaSearchAgentType {
213213
new Document({
214214
pageContent:
215215
result.content ||
216-
this.config.activeEngines.includes('youtube')
216+
(this.config.activeEngines.includes('youtube')
217217
? result.title
218-
: '' /* Todo: Implement transcript grabbing using Youtubei (source: https://www.npmjs.com/package/youtubei) */,
218+
: '') /* Todo: Implement transcript grabbing using Youtubei (source: https://www.npmjs.com/package/youtubei) */,
219219
metadata: {
220220
title: result.title,
221221
url: result.url,

0 commit comments

Comments
 (0)