Zezae Oh
2bf0f9e172
feat(cron): per-job LLM provider/model override ( #1234 )
...
makeCronJobHandler builds the agent RunRequest with no provider/model, so cron
jobs always run on the agent default provider. High-frequency scheduled jobs
(e.g. triage) can't be routed to a cheaper model the way heartbeats already can
via agent_heartbeats.provider_id/model.
Add provider_id/model to cron_jobs (Postgres migration 000074; SQLite schema +
migration v42→43, both mirroring agent_heartbeats) and resolve them into
RunRequest.ProviderOverride/ModelOverride in the handler, reusing the existing
per-run override plumbing that heartbeats use. NULL/unset → agent default, so
existing jobs are unaffected.
Settable today via UpdateJob patch (CronJobPatch.ProviderID/Model) or directly
in the DB; tool/RPC/dashboard exposure left as a follow-up.
Verified: go build ./... and go build -tags sqlite ./... (exit 0), go vet,
gofmt, and cron unit tests on both pg and sqlite stores.
2026-06-21 00:19:39 +07:00
..
2026-06-11 13:49:58 +01:00
2026-04-18 12:17:23 +07:00
2026-03-06 18:51:11 +07:00
2026-04-09 21:15:19 +07:00
2026-05-18 20:33:40 +07:00
2026-04-09 21:15:19 +07:00
2026-05-22 20:53:01 +07:00
2026-05-24 11:27:02 +07:00
2026-05-24 11:27:02 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-10 00:09:15 +07:00
2026-03-10 00:09:15 +07:00
2026-04-27 12:00:14 +07:00
2026-05-28 18:17:49 +07:00
2026-05-23 00:16:03 +07:00
2026-04-09 21:15:19 +07:00
2026-04-14 18:28:31 +07:00
2026-05-19 06:53:45 +07:00
2026-05-21 16:44:43 +07:00
2026-04-09 23:15:08 +07:00
2026-05-31 11:44:56 +07:00
2026-05-28 18:30:34 +07:00
2026-05-28 18:30:34 +07:00
2026-05-28 18:30:34 +07:00
2026-05-28 18:30:34 +07:00
2026-06-12 15:17:57 +07:00
2026-06-09 22:24:24 +07:00
2026-03-31 23:14:39 +07:00
2026-04-16 14:17:48 +07:00
2026-05-31 13:35:04 +07:00
2026-05-31 13:35:04 +07:00
2026-06-12 15:17:57 +07:00
2026-04-18 14:53:42 +07:00
2026-04-14 18:28:31 +07:00
2026-06-12 17:33:54 +07:00
2026-06-21 00:19:39 +07:00
2026-06-21 00:19:39 +07:00
2026-05-24 11:13:03 +07:00
2026-04-15 20:40:25 +07:00
2026-04-20 08:49:38 +07:00
2026-04-12 19:03:47 +07:00
2026-04-10 20:52:28 +07:00
2026-03-27 09:28:42 +07:00
2026-05-18 21:43:03 +07:00
2026-06-21 00:19:39 +07:00
2026-05-24 11:13:03 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 15:01:38 +07:00
2026-06-12 14:42:48 +07:00
2026-06-12 15:55:18 +07:00
2026-06-12 17:51:12 +07:00
2026-05-31 13:08:24 +07:00
2026-05-31 13:08:24 +07:00
2026-06-09 22:24:24 +07:00
2026-06-12 17:58:22 +07:00
2026-05-31 13:22:07 +07:00
2026-02-22 14:58:07 +07:00
2026-02-22 14:58:07 +07:00
2026-05-11 15:41:27 +07:00
2026-06-19 10:59:02 +07:00
2026-03-19 13:35:57 +07:00
2026-03-19 13:35:57 +07:00
2026-04-15 11:24:57 +07:00
2026-06-12 17:51:12 +07:00
2026-03-19 13:35:57 +07:00
2026-03-27 09:28:42 +07:00
2026-03-27 09:28:42 +07:00
2026-03-27 09:28:42 +07:00
2026-03-31 11:45:16 +07:00
2026-04-16 14:17:48 +07:00
2026-05-24 15:57:21 +07:00
2026-06-15 10:36:50 +07:00
2026-06-21 00:19:39 +07:00
2026-02-22 14:58:07 +07:00
2026-04-04 06:58:15 +07:00
2026-04-19 15:00:07 +07:00
2026-05-31 14:01:29 +07:00
2026-04-18 16:55:08 +07:00
2026-04-18 16:55:08 +07:00
2026-03-11 07:27:38 +07:00
2026-03-09 22:28:18 +07:00
2026-04-09 21:15:19 +07:00
2026-06-12 09:48:01 +07:00
2026-03-07 00:46:29 +07:00
2026-04-27 12:00:11 +07:00
2026-04-09 21:15:19 +07:00
2026-06-12 09:48:01 +07:00
2026-03-06 18:51:11 +07:00
2026-06-12 10:40:59 +07:00
2026-06-12 10:40:59 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-27 12:00:11 +07:00
2026-06-12 14:57:09 +07:00
2026-06-12 14:50:33 +07:00
2026-06-12 10:38:53 +07:00
2026-06-12 10:38:53 +07:00
2026-06-12 10:38:53 +07:00
2026-04-16 15:49:50 +07:00
2026-04-09 21:15:19 +07:00
2026-04-16 15:49:50 +07:00
2026-04-16 15:49:50 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 09:48:01 +07:00
2026-06-12 09:48:01 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-07 20:51:39 +07:00
2026-04-13 10:59:27 +07:00
2026-04-13 10:59:27 +07:00