five-on-it / apps/creator/src/runner / ClaimedJob
Interface: ClaimedJob
Defined in: apps/creator/src/runner.ts:55
A turn of a creation as the API hands it to a runner (POST /creator/claim).
Properties
caps
caps:
object
Defined in: apps/creator/src/runner.ts:72
What is left of the creation's dollars and what it spent before, its builds, the turn's minutes.
builds
builds:
number
minutes
minutes:
number
spent?
optionalspent?:number
usd
usd:
number
history?
optionalhistory?:Record<string,unknown>[]
Defined in: apps/creator/src/runner.ts:68
The model's own history of the turns before (the transcript), to go on from.
job
job:
Brief&object
Defined in: apps/creator/src/runner.ts:56
Type Declaration
attempt
attempt:
number
conversation?
optionalconversation?:Said[]
The conversation so far, the owner's new messages last.
id
id:
string
owner
owner:
object
owner.id
id:
string
owner.name
name:
string
tier?
optionaltier?:"default"|"city"
Which models the turn is for: a city's, or the default.
turn?
optionalturn?:number
Which turn of the conversation (1: the brief's).
token
token:
string
Defined in: apps/creator/src/runner.ts:70
The job's own session.