mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: revert freshness
This commit is contained in:
parent
d88f2ef002
commit
d0548cdb66
@ -310,7 +310,7 @@ export async function getResponse(question?: string,
|
||||
evaluationMetrics[currentQuestion].push('strict')
|
||||
}
|
||||
|
||||
if (step === 1) {
|
||||
if (step === 1 && evaluationMetrics[currentQuestion].includes('freshness')) {
|
||||
// if it detects freshness, avoid direct answer at step 1
|
||||
allowAnswer = false;
|
||||
allowReflect = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user