clean up prompt text (#104)

This commit is contained in:
Sha Zhou
2025-05-07 10:22:40 +08:00
committed by GitHub
parent 2534439e6e
commit 9ea355a9a5

View File

@@ -211,6 +211,10 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction
if (err.stack) { if (err.stack) {
logger.error(err.stack); logger.error(err.stack);
} }
} finally {
if (ctx.promptContext) {
ctx.promptContext = null;
}
} }
}); });