litellm/tests
Joshua Valluru ef21f7bb1e feat(task-insights): seeded preview branch that runs without building Rust
Ports the Task Insights feature from litellm_task_insights_poc (b11cf90c4b) onto 07c7229895 so the seeded
demo can reuse the published multi-arch image built from that commit for the compiled extension and Python
dependencies. litellm/accounting/worker.py, litellm/repositories/accounting_delivery_repository.py and
litellm/proxy/deps/repositories.py are adapted by hand to the older accounting worker. The feature's tests come
along except tests/unit/accounting/test_worker.py, which does not exist at this base.

docker/task_insights/demo.sh builds the preview image (dashboard only, 4 GiB Node heap), starts Postgres, Redis
and the gateway in their own Compose project on localhost, seeds sample data and says how to sign in. It writes
random credentials only when missing, refuses a busy port, and keeps the database on stop. The image build
fails when the base image's compiled extension lacks a function the Python package expects.

Only the seeded flow is verified on this branch. Live discovery and bucketing were verified on the feature branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:23:16 -08:00
..
_support feat(mcp): add an opt-in per-server setting to skip MCP tool output validation (#49961) 2026-11-03 20:42:10 -08:00
audio_tests feat(vertex-ai)!: support gemini 3.1 flash tts (#31915) 2026-10-21 04:18:42 +00:00
base_sdk_tests feat(packaging): build litellm-proxy gateway wheels (#49605) 2026-11-05 16:37:12 -08:00
benchmarks fix(realtime)!: send the Gemini Live setup at the first content so session.update settings apply (#39864) 2026-10-30 01:31:39 -07:00
code_coverage_tests feat(packaging): build litellm-proxy gateway wheels (#49605) 2026-11-05 16:37:12 -08:00
documentation_tests
e2e test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
e2e_harness test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
fixtures
harness_e2e fix(harness): set PWD to the working directory of local sandbox commands (#47530) 2026-10-20 20:06:11 +00:00
integration feat(task-insights): seeded preview branch that runs without building Rust 2026-11-12 09:23:16 -08:00
rust-python-harness fix(messages): make rust messages copy python messages behaviour (#49611) 2026-11-02 21:02:52 -08:00
test_litellm_rust feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
typing
unit feat(task-insights): seeded preview branch that runs without building Rust 2026-11-12 09:23:16 -08:00
windows_tests refactor(rust-bridge): require the native extension (#48852) 2026-10-28 13:16:56 -07:00
__init__.py
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py
_openai_record_replay_proxy.py
_process_helpers.py
_vcr_conftest_common.py
_vcr_redis_persister.py
_wait_helpers.py
_ws_vcr.py
AGENTS.md
capturing_transport.py
eval_swe_bench.py
fake_openai_endpoint.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
pyrightconfig.json
README.MD
test_logging.conf
test_rust_python_harness.py
VCR_TESTING.md
white_100x100.png

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/unit

This folder can only run mock tests.