diff --git a/src/agent.ts b/src/agent.ts index 91fb82c..2e7e1c8 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -576,7 +576,7 @@ But then you realized you have asked them before. You decided to to think out of let {queries: keywordsQueries} = await rewriteQuery(thisStep, context.tokenTracker); // add the original query before rewrite to the keywordsQueries - keywordsQueries.push(question) + keywordsQueries.push(thisStep.searchQuery) const oldKeywords = keywordsQueries; // avoid exisitng searched queries