fix: dont send gen_title twice

This commit is contained in:
Wentao Lyu 2023-03-15 00:53:15 +08:00
parent d73375958b
commit 8b00805d24
5 changed files with 29 additions and 18 deletions

View file

@ -167,6 +167,8 @@ router.post('/', async (req, res) => {
response: JSON.stringify(gptResponse?.text)
});
console.log('CONVERSATION TITLE', title);
await saveConvo({
conversationId,
title