update schema and prompt structure

This commit is contained in:
2025-06-29 15:25:50 -04:00
parent 12554430a1
commit c0a686b565
3 changed files with 21 additions and 3 deletions

View File

@ -72,10 +72,11 @@ const storePromptData = async (
await prisma.response.create({
data: {
response: ollamaResponseBody.response,
request: striptags(notification.status.content),
request: `${notification.status.account.fqn} asks: ${striptags(
notification.status.content
)}`,
to: notification.account.fqn,
pleromaNotificationId: notification.status.id,
createdAt: new Date(Date.now()),
},
});
} catch (error: any) {