litellm/tests
mateo-berri 54896d25ef feat(proxy): serve Claude Code gateway managed settings per team
A team can now carry its own Claude Code managed settings in team metadata under
claude_code_gateway_managed_settings. The gateway merges that block over the global
general_settings block with RFC 7386 JSON Merge Patch, so each team gets its own body and
ETag, and a caller with no team block still gets the global block and ETag unchanged

Only proxy admins can set the key on /team/new and /team/update, and team admins cannot
touch it, since Claude Code applies these settings (env, hooks, apiKeyHelper) on every team
member's machine
2026-11-11 19:24:44 -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
base_sdk_tests feat(packaging): build litellm-proxy gateway wheels (#49605) 2026-11-05 16:37:12 -08:00
basic_proxy_startup_tests feat(docker)!: one shipped image and one entrypoint beside the Dockerfile (#43332) 2026-11-10 18:32:16 -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 chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
documentation_tests fix(anthropic_messages): bound the detached pump so it cannot outlive its stream (#51268) 2026-11-11 17:06:15 -08:00
e2e chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08: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
integration chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
rust-python-harness feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_litellm_rust feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
typing chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
unit feat(proxy): serve Claude Code gateway managed settings per team 2026-11-11 19:24:44 -08:00
windows_tests feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00: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 ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
_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.