litellm-mirror/litellm
Krish Dholakia 21e8f212d7
Litellm dev 12 25 2024 p3 (#7421)
* refactor(prometheus.py): refactor to use a factory method for setting label values

allows for enforcing end user id disabling on prometheus e2e

* fix: fix linting error

* fix(prometheus.py): ensure label factory drops end-user value if disabled by user

* fix(prometheus.py): specify service_type in end user tracking get

* test: fix test

* test: add unit test for prometheus factory

* test: improve test (cover flag not set scenario)

* test(test_prometheus.py): e2e test covering if 'end_user_id' shows up in testing if disabled

scrapes the `/metrics` endpoint and scans text to check if id appears in emitted metrics

* fix(prometheus.py): stringify status code before logging it
2024-12-25 18:54:24 -08:00
..
adapters (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
assistants (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
batch_completion (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
batches (Feat) add `"/v1/batches/{batch_id:path}/cancel" endpoint (#7406) 2024-12-24 20:23:50 -08:00
caching (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
deprecated_litellm_server (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
files (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
fine_tuning (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
integrations Litellm dev 12 25 2024 p3 (#7421) 2024-12-25 18:54:24 -08:00
litellm_core_utils Litellm dev 12 25 2024 p3 (#7421) 2024-12-25 18:54:24 -08:00
llms Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
proxy Litellm dev 12 25 2024 p3 (#7421) 2024-12-25 18:54:24 -08:00
realtime_api (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
rerank_api (feat) /batches - track user_api_key_alias, user_api_key_team_alias etc for /batch requests (#7401) 2024-12-24 17:44:28 -08:00
router_strategy [Bug Fix]: Errors in LiteLLM When Using Embeddings Model with Usage-Based Routing (#7390) 2024-12-23 17:42:24 -08:00
router_utils Controll fallback prompts client-side (#7334) 2024-12-20 19:09:53 -08:00
secret_managers (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
types Litellm dev 12 25 2024 p3 (#7421) 2024-12-25 18:54:24 -08:00
__init__.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
_logging.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
_redis.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
_service_logger.py LiteLLM Minor Fixes & Improvements (12/05/2024) (#7037) 2024-12-05 00:02:31 -08:00
_version.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
budget_manager.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
constants.py (feat) /batches - track user_api_key_alias, user_api_key_team_alias etc for /batch requests (#7401) 2024-12-24 17:44:28 -08:00
cost.json
cost_calculator.py LiteLLM Minor Fixes & Improvements (12/23/2024) - p3 (#7394) 2024-12-23 22:02:52 -08:00
exceptions.py Litellm 12 02 2024 (#6994) 2024-12-02 22:00:01 -08:00
main.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
model_prices_and_context_window_backup.json Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
py.typed feature - Types for mypy - #360 2024-05-30 14:14:41 -04:00
router.py LiteLLM Minor Fixes & Improvements (12/23/2024) - P2 (#7386) 2024-12-23 17:41:27 -08:00
scheduler.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
timeout.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
utils.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00