litellm/tests
Krish Dholakia 72bbdfd3f3
(security) Responses API - prevent User A from retrieving User B's response, if response.id is leaked (#15757)
* feat(responses_id_security.py): encrypt response.id - prevent user A from retrieving user B's response

additional security for retrievals on shared accounts

Closes LIT-1307

* feat(responses_id_security.py): allow admin to disable responses id security check

* test: add initial unit testing

* feat(responses_id_security.py): add streaming support

* docs: document new param

* docs: document new param

* feat(responses_id_security.py): add team id checks - ensure it works for service accounts

prevent service accounts keys from different teams from accessing each other's responses

more secure

* test: add unit testing

* fix: fix linting error
2025-10-25 13:41:59 -07:00
..
audio_tests test_azure_transcribe_model_mapping 2025-10-25 11:42:34 -07:00
basic_proxy_startup_tests
batches_tests
code_coverage_tests [Feat] Add DataforSEO Search API (#15817) 2025-10-22 16:00:40 -07:00
documentation_tests
enterprise test_bedrock_apply_guardrail_with_masking 2025-10-25 12:59:19 -07:00
guardrails_tests [Feat] New Guardrail - Dynamo AI Guardrail (#15920) 2025-10-24 17:11:04 -07:00
image_gen_tests TestAzureOpenAIDalle3 2025-10-25 12:46:38 -07:00
litellm/llms feat: Add imageConfig parameter for gemini-2.5-flash-image (#15530) 2025-10-21 17:08:30 -07:00
litellm_utils_tests test_azure_img_gen_health_check 2025-10-25 10:35:47 -07:00
litellm-proxy-extras
llm_responses_api_testing test responses API fixes 2025-10-25 10:58:39 -07:00
llm_translation test_databricks_anthropic_function_call_with_no_schema 2025-10-25 13:01:08 -07:00
load_tests
local_testing test_databricks_anthropic_function_call_with_no_schema 2025-10-25 12:29:15 -07:00
logging_callback_tests fix tests 2025-10-25 10:19:24 -07:00
mcp_tests Auth Header Fix for MCP Tool Call (#15736) 2025-10-21 13:58:03 -07:00
multi_instance_e2e_tests
ocr_tests TestAzureAIOCR 2025-10-25 10:26:41 -07:00
old_proxy_tests/tests fix tests 2025-10-25 10:19:24 -07:00
openai_endpoints_tests feat: read from custom-llm-provider header (#15528) 2025-10-18 22:04:53 -07:00
otel_tests
pass_through_tests fix: always retain config models 2025-10-11 16:09:33 -07:00
pass_through_unit_tests
proxy_admin_ui_tests
proxy_security_tests
proxy_unit_tests Guardrails - Responses API, Image Gen, Text completions, Audio transcriptions, Audio Speech, Rerank, Anthropic Messages API support via the unified apply_guardrails function (#15706) 2025-10-25 13:38:57 -07:00
router_unit_tests [Feat] Add /search endpoint on LiteLLM Gateway (#15780) 2025-10-21 19:05:20 -07:00
scim_tests
search_tests [Feat] Add cost tracking for Search API requests - Google PSE, Tavily, Parallel AI, Exa AI (#15821) 2025-10-22 17:29:09 -07:00
spend_tracking_tests
store_model_in_db_tests
test_litellm (security) Responses API - prevent User A from retrieving User B's response, if response.id is leaked (#15757) 2025-10-25 13:41:59 -07:00
unified_google_tests
vector_store_tests fix(managed_files.py): don't raise error if managed object is not found + (Feat) Azure AI - Search Vector Stores + (Fix) Batches - “User default_user_id does not have access to the object” when object not in db + (fix) Vector Stores - show config.yaml vector stores on UI (#15873) 2025-10-25 12:06:24 -07:00
windows_tests
__init__.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
README.MD
test_budget_management.py
test_callbacks_on_proxy.py
test_config.py
test_debug_warning.py
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_health.py
test_keys.py
test_litellm_proxy_responses_config.py
test_logging.conf
test_models.py
test_openai_endpoints.py
test_organizations.py
test_passthrough_endpoints.py
test_ratelimit.py
test_resource_cleanup.py
test_spend_logs.py
test_team_logging.py
test_team_members.py
test_team.py
test_users.py

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/test_litellm

This folder can only run mock tests.