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
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
version | string | ✔️ | N/A |
title | string | ✔️ | N/A |
description | string | ✔️ | N/A |
emits | string | ✔️ | N/A |
inputs | Record<string, components.Input> | ➖ | N/A |
resources | components.Resources | ➖ | The Job's resource request (§3.2). Kubernetes quantity strings, passed through verbatim. |
defaultLimits | components.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. |
paramsSchema | Record<string, any> | ✔️ | N/A |
exampleParams | Record<string, any> | ✔️ | N/A |