litellm/tests
Ryne Carbone 15013cec4b
feat(gemini): add file content support in tool results (#19416)
Add support for 'file' and 'input_file' content types in
convert_to_gemini_tool_call_result(). File content in tool
results was previously silently dropped.

Supports base64 data URIs and HTTP URLs, matching the existing
image handling pattern. Enables PDF, audio, video, and other
file types as inline_data for Gemini.
2026-01-20 19:54:12 -08:00
..
agent_tests
audio_tests
basic_proxy_startup_tests
batches_tests chore: remove unused test files from repository root (#19150) 2026-01-16 02:34:41 +05:30
code_coverage_tests add search provider for brave search api (#19433) 2026-01-20 19:23:29 -08:00
documentation_tests fix: test_env_keys 2026-01-20 18:37:56 +05:30
enterprise Merge remote-tracking branch 'origin' into litellm_user_promethus_metrics 2026-01-13 16:27:08 -08:00
guardrails_tests Merge branch 'main' into litellm_staging_01_19_2026 2026-01-20 19:19:36 +05:30
image_gen_tests TestAzureAIFlux2ImageEdit 2026-01-08 18:23:05 +05:30
litellm fix(oci): handle OpenAI-style image_url object in multimodal messages (#18272) 2026-01-12 17:08:32 +05:30
litellm_core_utils fix(bedrock): deduplicate tool calls in assistant history (#15178) (#19324) 2026-01-19 10:56:49 -08:00
litellm_utils_tests [Refactor] Add CI enforcement for O(1) operations in _get_model_cost_key to prevent performance regressions (#19052) 2026-01-13 17:08:03 -08:00
litellm-proxy-extras Revert "feat: Add Redis-based migration lock with bug fixes (#19261)" 2026-01-20 18:46:26 +05:30
llm_responses_api_testing Merge branch 'main' into litellm_fix_streaming_test 2026-01-19 19:43:16 +05:30
llm_translation Merge branch 'main' into litellm_staging_01_19_2026 2026-01-20 19:19:36 +05:30
load_tests Add memory leak detection tests with CI integration (#18881) 2026-01-09 17:36:10 -08:00
local_testing Merge branch 'main' into litellm_staging_01_19_2026 2026-01-20 19:19:36 +05:30
logging_callback_tests Add user auth in standard logging object for bedrock passthrough 2026-01-15 18:36:06 +05:30
mcp_tests tests: patch MCP client mocks via module alias to avoid real network calls 2026-01-20 12:31:27 +09:00
multi_instance_e2e_tests
ocr_tests OCR test fixes 2026-01-11 08:00:31 -08:00
old_proxy_tests/tests
openai_endpoints_tests
otel_tests User metrics for promethus 2026-01-07 15:05:09 -08:00
pass_through_tests
pass_through_unit_tests use mock db for cluade code marketplace 2026-01-20 16:18:21 -08:00
proxy_admin_ui_tests Revert "Revert "[Feature] Deleted Keys and Deleted Teams Table"" 2026-01-16 14:25:23 -08:00
proxy_security_tests
proxy_unit_tests fixing test 2026-01-16 19:06:23 -08:00
router_unit_tests Fix extract_cacheable_prefix to handle string content with message-level cache_control (fixes #19228) 2026-01-17 10:35:40 +05:30
scim_tests
search_tests add search provider for brave search api (#19433) 2026-01-20 19:23:29 -08:00
spend_tracking_tests increasing time for spend tracking 2026-01-20 16:31:25 -08:00
store_model_in_db_tests
test_litellm feat(gemini): add file content support in tool results (#19416) 2026-01-20 19:54:12 -08:00
unified_google_tests
vector_store_tests
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_default_encoding_non_root.py fix: resolve Read-only file system error in non-root images (#19449) 2026-01-20 19:00:52 -08:00
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_gpt5_azure_temperature_support.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_proxy_server_non_root.py fix: resolve Read-only file system error in non-root images (#19449) 2026-01-20 19:00:52 -08:00
test_ratelimit.py
test_resource_cleanup.py
test_service_logger_otel.py fix(langfuse_otel): ignore service logs and fix callback shadowing (#19298) 2026-01-19 05:53:47 -08:00
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.