Skip to content

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

Interface: Outcome ​

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

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

Properties ​

calls ​

calls: number

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

The model's calls and tokens.


cost ​

cost: number

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

What it spent (USD).


error? ​

optional error?: string

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

Why it failed.


inputTokens ​

inputTokens: number

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


outputTokens ​

outputTokens: number

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


state ​

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

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


steps? ​

optional steps?: string[]

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

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


summary? ​

optional summary?: string

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

The model's answer to the owner.


system? ​

optional system?: boolean

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

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


transcript? ​

optional transcript?: Transcript

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

The conversation, for the moderators.