mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
refactor: add maxBadAttempts to logging
This commit is contained in:
@@ -959,6 +959,7 @@ But unfortunately, you failed to solve the issue. You need to think out of the b
|
|||||||
logInfo(`Beast mode!!! budget ${(context.tokenTracker.getTotalUsage().totalTokens / tokenBudget * 100).toFixed(2)}%`, {
|
logInfo(`Beast mode!!! budget ${(context.tokenTracker.getTotalUsage().totalTokens / tokenBudget * 100).toFixed(2)}%`, {
|
||||||
usage: context.tokenTracker.getTotalUsageSnakeCase(),
|
usage: context.tokenTracker.getTotalUsageSnakeCase(),
|
||||||
evaluationMetrics,
|
evaluationMetrics,
|
||||||
|
maxBadAttempts,
|
||||||
});
|
});
|
||||||
// any answer is better than no answer, humanity last resort
|
// any answer is better than no answer, humanity last resort
|
||||||
step++;
|
step++;
|
||||||
|
|||||||
Reference in New Issue
Block a user