litellm/tests/unit/llms/openai/transcriptions
Nate Armstrong 7351177434
perf(import): load realtime and provider cost modules on first use (#54344)
* perf(import): load realtime and provider cost modules on first use

The realtime entry points on litellm resolve through the lazy attribute
registry, and cost_calculator imports each provider's cost module inside
the code path that prices that provider, so import litellm no longer
loads realtime_api.main or the provider cost modules.

LITELLM_DISABLE_LAZY_LOADING now also loads the realtime entry points.
Provider cost modules still load on the first cost calculation that
needs them.

* test(cost): drop duplicate together_ai import
2026-11-26 12:57:05 -08:00
..
__init__.py
test_audio_transcription_guardrail_handler.py
test_gpt_transcribe.py fix(cost)!: bill transcriptions by the seconds the provider reports (#50727) 2026-11-09 13:37:55 -08:00
test_openai_transcriptions_handler.py test(groq): tell cost lookups the Whisper row changed in the catalog rate test (#54252) 2026-11-24 21:10:12 +00:00
test_transcription_duration_hidden.py perf(import): load realtime and provider cost modules on first use (#54344) 2026-11-26 12:57:05 -08:00
test_whisper_transformation.py