Skip to content

five-on-it / apps/creator/src/runner / Outcome

Interface: Outcome ​

Defined in: apps/creator/src/runner.ts:76

How a creation ended: what the API is told at its finish.

Properties ​

calls ​

calls: number

Defined in: apps/creator/src/runner.ts:89

The model's calls and tokens.


cost ​

cost: number

Defined in: apps/creator/src/runner.ts:79

What it spent (USD).


error? ​

optional error?: string

Defined in: apps/creator/src/runner.ts:85

Why it failed.


inputTokens ​

inputTokens: number

Defined in: apps/creator/src/runner.ts:90


outputTokens ​

outputTokens: number

Defined in: apps/creator/src/runner.ts:91


state ​

state: "done" | "failed" | "cancelled"

Defined in: apps/creator/src/runner.ts:77


steps? ​

optional steps?: string[]

Defined in: apps/creator/src/runner.ts:83

What the model did in the turn, step by step.


summary? ​

optional summary?: string

Defined in: apps/creator/src/runner.ts:81

The model's answer to the owner.


system? ​

optional system?: boolean

Defined in: apps/creator/src/runner.ts:87

No fault of the brief: its creation is given back.


transcript? ​

optional transcript?: Transcript

Defined in: apps/creator/src/runner.ts:93

The conversation, for the moderators.