bodhi-realtime-agent / deriveUsageSource
Function: deriveUsageSource()
deriveUsageSource(
usage):RealtimeUsageSource
Defined in: src/core/usage-helpers.ts:82
Map a RealtimeLLMUsageEvent to its RealtimeUsageSource. Internal helper used by VoiceSession when bridging provider callbacks to the EventBus event.
Parameters
usage
Returns
RealtimeUsageSource