mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
clean up prompt text (#104)
This commit is contained in:
parent
2534439e6e
commit
9ea355a9a5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user