Skip to main content

Function: refreshTranscriptionCredit()

refreshTranscriptionCredit(t, input): Promise<void>

Defined in: packages/agentos/src/safety/runtime/TranscriptionCredit.ts:220

Replace a checked interval only for the active full record; never erase local liabilities. A finished local request that the evidence lists is reconciled once: its supplier cost counts through the reported total and its local gross leaves the unreported deduction.

Parameters​

t​

CreditTransaction

input​

at​

number

evidence​

DeepgramUsageEvidence

recordVersion​

string

scopeId​

string

Returns​

Promise<void>

Throws​

For an inactive version, evidence of another project, contract or baseline, evidence from the future or older than the last check or failure, a total or interval that regressed, a duplicate request, or a reconciled request that is missing or changed.