Skip to content

Limits ​

A run's budget: the generator's default_limits, or the effective ones as ctx.limits.

No defaults. Every number here is a bound the platform enforces and a caller can be billed against, so a generator that forgets to state one should not silently inherit a guess.

Example Usage ​

typescript
import { Limits } from "@meetkai/mka1/models/components";

let value: Limits = {
  maxRuntimeHours: 5674.22,
  maxCost: 4071.68,
  maxLlmCalls: 359046,
};

Fields ​

FieldTypeRequiredDescription
maxRuntimeHoursnumber✔️N/A
maxCostnumber✔️N/A
maxLlmCallsnumber✔️N/A