mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 14:30:17 +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.messages,
|
||||||
body.max_returned_urls,
|
body.max_returned_urls,
|
||||||
body.no_direct_answer,
|
body.no_direct_answer,
|
||||||
body.boostHostnames,
|
body.boost_hostnames,
|
||||||
body.badHostnames,
|
body.bad_hostnames,
|
||||||
)
|
)
|
||||||
let finalAnswer = (finalStep as AnswerAction).mdAnswer;
|
let finalAnswer = (finalStep as AnswerAction).mdAnswer;
|
||||||
|
|
||||||
|
|||||||
@ -218,8 +218,8 @@ export interface ChatCompletionRequest {
|
|||||||
no_direct_answer?: boolean;
|
no_direct_answer?: boolean;
|
||||||
max_returned_urls?: number;
|
max_returned_urls?: number;
|
||||||
|
|
||||||
boostHostnames?: string[];
|
boost_hostnames?: string[];
|
||||||
badHostnames?: string[];
|
bad_hostnames?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface URLAnnotation {
|
export interface URLAnnotation {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user