Skip to main content

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​

readonly availableVendors: 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?​

readonly optional credit: SttCreditSnapshot

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:50

A checked snapshot of that record; absent before the first success.


creditVersion?​

readonly optional creditVersion: string

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:48

Current complete credit-record version; absent for no valid record.


estimatedSeconds​

readonly estimatedSeconds: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:46

Positive estimated audio seconds the admission must fund.


language?​

readonly optional language: 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​

readonly nowMs: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:44

UTC epoch milliseconds of this decision.