Interface: LowestCostSttOptions
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:38
Explicit inputs to one price decision. No availability is inferred.
Properties
availableVendors
readonlyavailableVendors: readonly ("openai"|"elevenlabs"|"deepgram")[]
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:40
Vendors whose credentials and eligibility the host has established.
credit?
readonlyoptionalcredit:SttCreditSnapshot
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:50
A checked snapshot of that record; absent before the first success.
creditVersion?
readonlyoptionalcreditVersion:string
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:48
Current complete credit-record version; absent for no valid record.
estimatedSeconds
readonlyestimatedSeconds:number
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:46
Positive estimated audio seconds the admission must fund.
language?
readonlyoptionallanguage:string|null
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:42
Null means automatic language, never an English default. Omitted retains legacy English behavior.
nowMs
readonlynowMs:number
Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:44
UTC epoch milliseconds of this decision.