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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}
});