Skip to main content

Interface: LoopDefinition

Defined in: packages/core/src/runtime/durable-tools.ts:214

What a loop's identity is built from (Baleybot.getIdentity()).

Properties​

completion?​

optional completion?: object

Defined in: packages/core/src/runtime/durable-tools.ts:221

The completion contract's tool name and whether a host verifies it.

tool​

tool: string

verified​

verified: boolean


instructions​

instructions: string

Defined in: packages/core/src/runtime/durable-tools.ts:216


model​

model: string

Defined in: packages/core/src/runtime/durable-tools.ts:215


output?​

optional output?: unknown

Defined in: packages/core/src/runtime/durable-tools.ts:218

The output's JSON Schema, or undefined for text.


tools?​

optional tools?: Readonly<Record<string, unknown>>

Defined in: packages/core/src/runtime/durable-tools.ts:219


toolSchema​

toolSchema: (tool) => unknown

Defined in: packages/core/src/runtime/durable-tools.ts:223

The JSON Schema of a tool, as the model sees it.

Parameters​

tool​

unknown

Returns​

unknown