A Runner encapsulates one strategy for the LLM call → parse → execute loop.

interface Runner {
    id: string;
    getOutputModule(): common.apis.cortex.ContextModule;
    getPromptFormat(): common.apis.cortex.RunnerPromptFormat;
    run(ctx: common.apis.cortex.RunnerContext, maxLoops: number): Promise<string>;
    warmup?(): Promise<void>;
}

Implemented by

Properties

id: string

Methods