This commit is contained in:
2025-06-30 17:22:49 -04:00
parent c4a5de31f3
commit acddefe1e8
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ const notifications = await getNotifications();
const storeUserData = async (notification: Notification): Promise<void> => {
try {
const user = await prisma.user.upsert({
await prisma.user.upsert({
where: { userFqn: notification.status.account.fqn },
update: {
lastRespondedTo: new Date(Date.now()),
@ -116,7 +116,6 @@ const generateOllamaRequest = async (
});
const ollamaResponse: OllamaResponse = await response.json();
await storePromptData(notification, ollamaResponse);
// await postReplyToStatus(notification, ollamaResponse);
return ollamaResponse;
}
} catch (error: any) {

View File

@ -7,6 +7,8 @@
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"resolveJsonModule": true