litellm/tests/litellm
Ishaan Jaff 50a6f289cd
[QA/Guardrails] Allow editing guardrail entity configs (#10918)
* allow editing guardrail entity

* fix: allow patching guardrail entity config

* fix: test init guardrails

* fix: update in mem guardrail params

* fix: update in mem guardrail params

* allow editing guardrail entities on ui

* fix pii entity config

* fixes for unselect/select entities

* fix: test fixes
2025-05-17 16:27:02 -07:00
..
caching update redisvl dependency 2025-03-24 08:42:11 -04:00
enterprise [CI/CD] Test: fix mapped tests (#10870) 2025-05-15 15:36:15 -07:00
experimental_mcp_client rename transform_openai_tool_call_request_to_mcp_tool_call_request 2025-03-29 16:28:23 -07:00
integrations Feat: add guardrail tracing to OTEL, Arize phoenix (#10896) 2025-05-16 13:38:11 -07:00
litellm_core_utils fix(proxy/_types.py): add missing comma for /v2/rerank (#10861) 2025-05-15 21:37:46 -07:00
llms test: update test 2025-05-17 07:56:05 -07:00
proxy [QA/Guardrails] Allow editing guardrail entity configs (#10918) 2025-05-17 16:27:02 -07:00
responses [Bug Fix] Responses API - fix for handling multiturn responses API sessions (#10415) 2025-04-29 17:22:47 -07:00
router_strategy Revert "Unit test fixing and poetry update" 2025-03-28 10:22:32 -07:00
router_utils/pre_call_checks [Feat] Add Responses API - Routing Affinity logic for sessions (#10193) 2025-04-21 20:00:27 -07:00
types/llms Litellm dev 04 22 2025 p1 (#10206) 2025-04-22 23:58:43 -07:00
conftest.py fix(proxy_server.py): get master key from environment, if not set in … (#9617) 2025-03-28 15:16:15 -07:00
log.txt Litellm staging 05 10 2025 - openai pdf url support + sagemaker chat content length error fix (#10724) 2025-05-10 17:41:57 -07:00
readme.md
test_constants.py Revert "Revert "[Fix] Allow overriding all constants using a .env variable (#10803)"" 2025-05-14 18:27:43 -07:00
test_cost_calculator.py Fix - support azure dall e custom pricing (#10339) 2025-04-26 17:16:03 -07:00
test_logging.py [Bug fix] JSON logs - Ensure only 1 log is emitted (previously duplicate json logs were getting emitted) (#10580) 2025-05-05 20:25:47 -07:00
test_main.py Litellm staging 05 10 2025 - openai pdf url support + sagemaker chat content length error fix (#10724) 2025-05-10 17:41:57 -07:00
test_router.py fix: allow using credentials with amoderation (#10723) 2025-05-10 14:27:57 -07:00
test_utils.py Handle openai gpt file data + add openai 'supports_pdf_input' to all vision models + Support bedrock tool cache pointing (#10897) 2025-05-17 07:29:01 -07:00

Testing for litellm/

This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.

The point of this is to:

  1. Increase test coverage of litellm/
  2. Make it easy for contributors to add tests for the litellm/ package and easily run tests without needing LLM API keys.

File name conventions

  • litellm/proxy/test_caching_routes.py maps to litellm/proxy/caching_routes.py
  • test_<filename>.py maps to litellm/<filename>.py