Update cron.ts
This commit is contained in:
parent
bb4fac2696
commit
efbe9ba41a
|
|
@ -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 }],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user