Skip to content

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

Interface: Outcome ​

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

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

Properties ​

calls ​

calls: number

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

The model's calls and tokens.


cost ​

cost: number

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

What it spent (USD).


error? ​

optional error?: string

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

Why it failed.


inputTokens ​

inputTokens: number

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


outputTokens ​

outputTokens: number

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


state ​

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

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


steps? ​

optional steps?: string[]

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

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


summary? ​

optional summary?: string

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

The model's answer to the owner.


system? ​

optional system?: boolean

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

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


transcript? ​

optional transcript?: Transcript

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

The conversation, for the moderators.