This commit is contained in:
David Zhang
2025-03-13 21:28:40 -07:00
parent a8e100dd0a
commit 43f8fcdd50

View File

@@ -48,11 +48,10 @@ async function run() {
await askQuestion('Enter research depth (recommended 1-5, default 2): '),
10,
) || 2;
const reportAnswer = await askQuestion(
'Do you want to generate a long report or a specific answer? (report/answer, default report): ',
);
const isReport =
reportAnswer === '' || reportAnswer.toLowerCase() === 'report';
(await askQuestion(
'Do you want to generate a long report or a specific answer? (report/answer, default report): ',
)) !== 'answer';
let combinedQuery = initialQuery;
if (isReport) {