mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
feat: add hostnames bw filter
This commit is contained in:
parent
9048cb75fb
commit
e02c5984f9
@ -463,7 +463,7 @@ export async function getResponse(question?: string,
|
||||
console.log('Weighted URLs:', weightedURLs.length);
|
||||
}
|
||||
|
||||
// allowSearch = allowSearch && (weightedURLs.length < 70); // disable search when too many urls already
|
||||
allowSearch = allowSearch && (weightedURLs.length < 200); // disable search when too many urls already
|
||||
|
||||
// generate prompt for this step
|
||||
system = getPrompt(
|
||||
|
||||
@ -3,7 +3,7 @@ import {ObjectGeneratorSafe} from "./safe-generator";
|
||||
import {EvaluationType, PromptPair} from "../types";
|
||||
|
||||
export const MAX_URLS_PER_STEP = 4
|
||||
export const MAX_QUERIES_PER_STEP = 7
|
||||
export const MAX_QUERIES_PER_STEP = 5
|
||||
export const MAX_REFLECT_PER_STEP = 2
|
||||
|
||||
function getLanguagePrompt(question: string): PromptPair {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user