Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(chat): handle missing schedule in ChatScheduleCard

Steven Enamakelf20922abcbf4
diff --git a/app/src/features/conversations/aui/ChatScheduleCard.tsx b/app/src/features/conversations/aui/ChatScheduleCard.tsx
index 05ec298f0c..e293ae5b7a 100644
--- a/app/src/features/conversations/aui/ChatScheduleCard.tsx
+++ b/app/src/features/conversations/aui/ChatScheduleCard.tsx
@@ -18,8 +18,7 @@ import { useCallback, useState } from 'react';
import { ScheduleCard, type ScheduleRun } from '../../../components/assistant-ui/elements/schedule-card';
import { useT } from '../../../lib/i18n/I18nContext';
-import type { CoreCronJob, CoreCronRun } from '../../../utils/tauriCommands/cron';
-import { openhumanCronUpdate } from '../../../utils/tauriCommands/cron';
+import { openhumanCronUpdate, type CoreCronJob, type CoreCronRun } from '../../../utils/tauriCommands/cron';
function cadenceOf(job: CoreCronJob): string {
if (job.schedule.kind === 'cron') return job.schedule.expr;