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
aac0db67e4
commit
7eedb561a3
@ -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;
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user