mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
chore: first commit
This commit is contained in:
@@ -354,7 +354,7 @@ async function getResponse(question: string, tokenBudget: number = 1000000) {
|
||||
|
||||
if (currentQuestion === question) {
|
||||
if (evaluation.is_valid_answer) {
|
||||
if (action.references.length > 0) {
|
||||
if (action.references.length > 0 || Object.keys(allURLs).length === 0) {
|
||||
// EXIT POINT OF THE PROGRAM!!!!
|
||||
diaryContext.push(`
|
||||
At step ${step}, you took **answer** action and finally found the answer to the original question:
|
||||
|
||||
Reference in New Issue
Block a user