Skip to content

GeneratorDetail ​

Example Usage ​

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

let value: GeneratorDetail = {
  id: "<id>",
  version: "<value>",
  title: "<value>",
  description: "grown forager lest drat greatly",
  emits: "<value>",
  defaultLimits: {
    maxRuntimeHours: 5952.4,
    maxCost: 7372.27,
    maxLlmCalls: 898613,
  },
  paramsSchema: {
    "key": "<value>",
    "key1": "<value>",
  },
  exampleParams: {
    "key": "<value>",
    "key1": "<value>",
    "key2": "<value>",
  },
};

Fields ​

FieldTypeRequiredDescription
idstring✔️N/A
versionstring✔️N/A
titlestring✔️N/A
descriptionstring✔️N/A
emitsstring✔️N/A
inputsRecord<string, components.Input>➖N/A
resourcescomponents.Resources➖The Job's resource request (§3.2). Kubernetes quantity strings, passed through verbatim.
defaultLimitscomponents.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.
paramsSchemaRecord<string, any>✔️N/A
exampleParamsRecord<string, any>✔️N/A