feat: sydney is functional

This commit is contained in:
Daniel Avila 2023-03-08 19:47:23 -05:00
parent 0f54251459
commit 69b3edc52c
15 changed files with 157 additions and 22 deletions

View file

@ -48,7 +48,11 @@ router.post('/', async (req, res) => {
await saveMessage(userMessage);
if (!convo.conversationSignature) {
response.title = await titleConvo(text, response.response, model);
response.title = await titleConvo({
model,
message: text,
response: JSON.stringify(response.response)
});
}
response.text = response.response;