mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
clean up prompt text (#104)
This commit is contained in:
@@ -211,6 +211,10 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction
|
||||
if (err.stack) {
|
||||
logger.error(err.stack);
|
||||
}
|
||||
} finally {
|
||||
if (ctx.promptContext) {
|
||||
ctx.promptContext = null;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user