🛡️ fix: Title Generation Skip Logic Based On Endpoint Config (#9811)

This commit is contained in:
Danny Avila 2025-09-24 10:21:19 -04:00 committed by GitHub
parent b85950aa9a
commit f9aebeba92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 132 additions and 1 deletions

View file

@ -54,6 +54,11 @@ const addTitle = async (req, { text, response, client }) => {
clearTimeout(timeoutId);
}
if (!title) {
logger.debug(`[${key}] No title generated`);
return;
}
await titleCache.set(key, title, 120000);
await saveConvo(
req,