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?
optionalerror?: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?
optionalsteps?:string[]
Defined in: apps/creator/src/runner.ts:83
What the model did in the turn, step by step.
summary?
optionalsummary?:string
Defined in: apps/creator/src/runner.ts:81
The model's answer to the owner.
system?
optionalsystem?:boolean
Defined in: apps/creator/src/runner.ts:87
No fault of the brief: its creation is given back.
transcript?
optionaltranscript?:Transcript
Defined in: apps/creator/src/runner.ts:93
The conversation, for the moderators.