feat: add hostnames bw filter

This commit is contained in:
Han Xiao 2025-03-18 11:32:29 +08:00
parent aac0db67e4
commit 7eedb561a3
2 changed files with 4 additions and 4 deletions

View File

@ -555,8 +555,8 @@ app.post('/v1/chat/completions', (async (req: Request, res: Response) => {
body.messages,
body.max_returned_urls,
body.no_direct_answer,
body.boostHostnames,
body.badHostnames,
body.boost_hostnames,
body.bad_hostnames,
)
let finalAnswer = (finalStep as AnswerAction).mdAnswer;

View File

@ -218,8 +218,8 @@ export interface ChatCompletionRequest {
no_direct_answer?: boolean;
max_returned_urls?: number;
boostHostnames?: string[];
badHostnames?: string[];
boost_hostnames?: string[];
bad_hostnames?: string[];
}
export interface URLAnnotation {