litellm-mirror/tests/litellm
Krish Dholakia 92883560f0
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 20s
Helm unit test / unit-test (push) Successful in 24s
fix vertex ai multimodal embedding translation (#9471)
* remove data:image/jpeg;base64, prefix from base64 image input

vertex_ai's multimodal embeddings endpoint expects a raw base64 string without `data:image/jpeg;base64,` prefix.

* Add Vertex Multimodal Embedding Test

* fix(test_vertex.py): add e2e tests on multimodal embeddings

* test: unit testing

* test: remove sklearn dep

* test: update test with fixed route

* test: fix test

---------

Co-authored-by: Jonarod <jonrodd@gmail.com>
Co-authored-by: Emerson Gomes <emerson.gomes@thalesgroup.com>
2025-03-24 23:23:28 -07:00
..
caching update redisvl dependency 2025-03-24 08:42:11 -04:00
experimental_mcp_client test_tools.py 2025-03-21 18:38:24 -07:00
integrations TestCustomPromptManagement 2025-03-19 17:40:15 -07:00
litellm_core_utils test: add unit test 2025-03-24 14:45:20 -07:00
llms fix vertex ai multimodal embedding translation (#9471) 2025-03-24 23:23:28 -07:00
proxy Merge branch 'main' into litellm_exp_mcp_server 2025-03-24 19:03:56 -07:00
rerank_api build: merge squashed commit 2025-02-26 09:39:27 -08:00
responses TestResponseAPILoggingUtils 2025-03-12 12:45:03 -07:00
router_strategy refactor(base_routing_strategy.py): fix function names 2025-03-18 22:41:02 -07:00
log.txt Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08:00
readme.md (UI + Proxy) Cache Health Check Page - Cleanup/Improvements (#8665) 2025-02-19 19:08:50 -08:00
test_cost_calculator.py feat(cost_calculator.py): support reading litellm response cost header in client sdk 2025-03-17 15:12:01 -07:00
test_main.py Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08: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