Skip to main content

IRuntimeDesc

Agent Runtimes


Agent Runtimes / models/Runtime / IRuntimeDesc

Interface: IRuntimeDesc

Defined in: src/models/Runtime.ts:124

Runtime description (UI layer).

A lightweight, camelCase, location-agnostic descriptor used by the runtime pickers/launchers to describe a desired or selected runtime across all locations (browser / local / remote). It is intentionally kept separate from IRuntimePod:

  • naming: camelCase (UI) vs snake_case (backend transport);
  • scope: spans all IRuntimeLocations vs remote pod only;
  • lifecycle: a selection/description (may not exist yet) vs a concrete running pod. Map between the two at the boundary (e.g. podName <-> pod_name, burningRate <-> burning_rate) rather than merging them.

Properties

burningRate?

optional burningRate?: number

Defined in: src/models/Runtime.ts:156

Runtime credits burning rate.


displayName?

optional displayName?: string

Defined in: src/models/Runtime.ts:148

Runtime display name.


id?

optional id?: string

Defined in: src/models/Runtime.ts:128

Runtime ID.


kernelId?

optional kernelId?: string

Defined in: src/models/Runtime.ts:132

Runtime Kernel ID.


language

language: string

Defined in: src/models/Runtime.ts:140

Runtime language.


location

location: string

Defined in: src/models/Runtime.ts:144

Runtime location.


name

name: string

Defined in: src/models/Runtime.ts:136

Runtime name.


params?

optional params?: Record<string, any>

Defined in: src/models/Runtime.ts:152

Runtime parameters.


podName?

optional podName?: string

Defined in: src/models/Runtime.ts:160

Runtime Pod name (if applicable).