Update cron.ts

This commit is contained in:
Corey Johnson 2025-06-16 17:02:05 -07:00
parent bb4fac2696
commit efbe9ba41a

View File

@ -20,8 +20,10 @@ export const runCronJobs = async (client: Client) => {
})
if (upcomingReminders.length > 0) {
console.log(`Found ${upcomingReminders.length} upcoming reminders to notify.`)
const content = `These reminders are due soon, let them know!: ${JSON.stringify(upcomingReminders)}`
console.log(`🌭`, { content })
const output = await getQuickAIResponse({
instructions: buildInstructions(),
input: [{ role: "system", content }],