feat: add hostnames bw filter

This commit is contained in:
Han Xiao 2025-03-18 13:33:34 +08:00
parent 9048cb75fb
commit e02c5984f9
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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 {