You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The one reader of the saved limits (src/limits.js). It takes the Worker env, or an env that modelSettingsEnv already made, and returns the limits in
// the units the code uses. A turn reads them once at its start, so a change on the Models page applies from the next message.
// If the saved settings can't be read, the starting values (today's values) are used, so a settings outage never removes a safety limit.
import { readModelSettings } from "./model-settings.js";
import { runtimeLimits, DEFAULT_RUNTIME_LIMITS, jobTimeoutDefault } from "../limits.js";