litellm/tests
Ishaan Jaff a13aa4740a
[Fixes] Bug fixes to using LiteLLM MCP Gateway (#14392)
* fix: use _get_mcp_servers_in_path

* fix checks for using litellm_proxy as MCP tool provider

* fix: fix mcp_tools_with_litellm_proxy

* fix: fix aresponses_api_with_mcp

* aresponses_api_with_mcp

* test_mcp_allowed_tools_filtering

* fix: _filter_mcp_tools_by_allowed_tools

* fix: _filter_mcp_tools_by_allowed_tools

* test_streaming_responses_api_with_mcp_tools

* fixes: test tools transfrom MCP->OpenaI spec

* test_streaming_responses_api_with_mcp_tools

* fix: chat ui allow multi select with allowed tools

* fix: use correct MCP events with litellm proxy response API

* fix get_event_model_class

* fix litellm proxy MCP handler

* fix MCPEnhancedStreamingIterator

* chat ui show list tools result

* UI: show MCP events

* fix stream iterator

* fixes: litellm proxy mcp handler

* test responses + mcp

* fix: update responses api with mcp handling

* ruff check fix

* central: _process_mcp_tools_to_openai_format

* fix: refactor code

* test_mcp_allowed_tools_filtering

* test mcp with litellm proxy

* fix mcp call

* demo: video using MCP ui

* fixes for using stream iterator

* test_no_duplicate_mcp_tools_in_streaming_e2e

* docs fix

* fix code snippet
2025-09-10 19:12:11 -07:00
..
basic_proxy_startup_tests
batches_tests [Feat] Add Initial support for Bedrock Batches API (#14190) 2025-09-03 17:19:58 -07:00
code_coverage_tests [Security] Fix: Ensure .info() logs are not used for request/responses + Add code QA check for possible violations (#14386) 2025-09-09 13:55:56 -07:00
documentation_tests
enterprise test mapped test fixes 2025-08-23 17:04:23 -07:00
guardrails_tests
image_gen_tests test fix 2025-09-08 18:46:20 -07:00
litellm/llms Revert "fix: remove anthropic-beta header for Vertex AI requests with prompt caching" (#14421) 2025-09-10 15:47:18 -07:00
litellm_utils_tests test: remove end of life model from tests 2025-09-09 21:01:45 -07:00
litellm-proxy-extras
llm_responses_api_testing Move test to test_litellm/ folder 2025-09-05 10:08:34 +05:30
llm_translation fix: remove EOL model name 2025-09-09 21:15:12 -07:00
load_tests
local_testing test: update tests 2025-09-09 21:43:37 -07:00
logging_callback_tests Switch to string constant based truncation 2025-08-28 16:28:36 -06:00
mcp_tests [Fixes] Bug fixes to using LiteLLM MCP Gateway (#14392) 2025-09-10 19:12:11 -07:00
multi_instance_e2e_tests
old_proxy_tests/tests
openai_endpoints_tests [Feat] Add support for returning images with gemini/gemini-2.5-flash-image-preview with /chat/completions (#13983) 2025-08-27 16:16:19 -07:00
otel_tests fix test_key_budget_metrics 2025-09-06 16:18:50 -07:00
pass_through_tests test: update test - anthropic returns input tokens in final usage chunk now 2025-08-16 12:31:52 -07:00
pass_through_unit_tests [Bug fix] - Fix /messages fallback from Anthropic API -> Bedrock API (#13946) 2025-08-25 13:44:54 -07:00
proxy_admin_ui_tests
proxy_security_tests
proxy_unit_tests test: update test 2025-09-09 21:31:34 -07:00
router_unit_tests [Bug Fix] x-litellm-tags not routing with Responses API (#14289) 2025-09-05 09:40:37 -07:00
scim_tests
spend_tracking_tests
store_model_in_db_tests [MCP Gateway] fix auth on ui for bearer servers (#13312) 2025-08-06 09:46:10 -07:00
test_litellm [Fixes] Bug fixes to using LiteLLM MCP Gateway (#14392) 2025-09-10 19:12:11 -07:00
unified_google_tests [Perf] Improvements for Async Success Handler (Logging Callbacks) - Approx +130 RPS (#13905) 2025-08-23 13:13:23 -07:00
vector_store_tests [Bug Fix] Bedrock KB - Using LiteLLM Managed Credentials for Query (#13787) 2025-08-19 15:39:36 -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_logging.conf
test_models.py
test_openai_endpoints.py test fix 2025-09-01 17:04:47 -07:00
test_organizations.py
test_passthrough_endpoints.py
test_ratelimit.py
test_resource_cleanup.py
test_spend_logs.py Revert "Allow configuration to on what threshold to try truncating request content in db" 2025-08-28 16:12:42 -06:00
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/litellm

This folder can only run mock tests.