mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: update patch-express and agent implementation
This commit is contained in:
@@ -110,7 +110,7 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction
|
|||||||
} else {
|
} else {
|
||||||
rateLimitPolicy = [
|
rateLimitPolicy = [
|
||||||
RateLimitDesc.from({
|
RateLimitDesc.from({
|
||||||
occurrence: 2,
|
occurrence: 1,
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1003,11 +1003,7 @@ But unfortunately, you failed to solve the issue. You need to think out of the b
|
|||||||
await updateReferences(answerStep, allURLs)
|
await updateReferences(answerStep, allURLs)
|
||||||
answerStep.mdAnswer = repairMarkdownFootnotesOuter(buildMdFromAnswer(answerStep));
|
answerStep.mdAnswer = repairMarkdownFootnotesOuter(buildMdFromAnswer(answerStep));
|
||||||
} else {
|
} else {
|
||||||
answerStep.mdAnswer =
|
answerStep.mdAnswer = buildMdFromAnswer(answerStep);
|
||||||
convertHtmlTablesToMd(
|
|
||||||
fixCodeBlockIndentation(
|
|
||||||
buildMdFromAnswer(answerStep))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(thisStep)
|
console.log(thisStep)
|
||||||
|
|||||||
Reference in New Issue
Block a user