mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* build(model_prices_and_context_window.json): add google/gemini-2.0-flash-lite-001 versioned pricing Closes https://github.com/BerriAI/litellm/issues/9829 * build(model_prices_and_context_window.json): add initial support for 'supported_output_modalities' param * build(model_prices_and_context_window.json): add initial support for 'supported_output_modalities' param * build(model_prices_and_context_window.json): add supported endpoints to gemini-2.5-pro * build(model_prices_and_context_window.json): add gemini 200k+ pricing * feat(utils.py): support cost calculation for gemini-2.5-pro above 200k tokens Fixes https://github.com/BerriAI/litellm/issues/9807 * build: test dockerfile change * build: revert apk change * ci(config.yml): pip install wheel * ci: test problematic package first * ci(config.yml): pip install only binary * ci: try more things * ci: test different ml_dtypes version * ci(config.yml): check ml_dtypes==0.4.0 * ci: test * ci: cleanup config.yml * ci: specify ml dtypes in requirements.txt * ci: remove redisvl depedency (temporary) * fix: fix linting errors * test: update test * test: fix test |
||
---|---|---|
.. | ||
caching | ||
experimental_mcp_client | ||
integrations | ||
litellm_core_utils | ||
llms | ||
proxy | ||
responses | ||
router_strategy | ||
conftest.py | ||
log.txt | ||
readme.md | ||
test_cost_calculator.py | ||
test_main.py |
Testing for litellm/
This directory 1:1 maps the the litellm/
directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/
- 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 tolitellm/proxy/caching_routes.py
test_<filename>.py
maps tolitellm/<filename>.py