Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(routines): the server module hands out the limit shape it uses

David Neyraa56e4ccf2497
diff --git a/server/routine-run-limits.ts b/server/routine-run-limits.ts
index c2d3680fd7..ad0f31c629 100644
--- a/server/routine-run-limits.ts
+++ b/server/routine-run-limits.ts
@@ -5,6 +5,8 @@
import { ROUTINE_GOAL_RUN_LIMIT_MINUTES, ROUTINE_RUN_LIMIT_MINUTES, type RoutineRunLimits } from "../shared/routines.ts";
import { envWhole } from "./env-limits.ts";
+export type { RoutineRunLimits };
+
/** The longest limit the environment may name, in hours: the longest a routine may set for itself (1,440 minutes). */
export const RUN_LIMIT_HOURS_MAX = 24;