mirror of
https://github.com/dzhng/deep-research.git
synced 2026-03-22 07:57:16 +08:00
x
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user