Commit graph

26997 commits

Author SHA1 Message Date
Yuneng Jiang
635b90834f
chore: fixes
Some checks failed
Unit Tests: Security / security (push) Has been cancelled
Unit Tests: Caching (Redis) / caching-redis (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (auth-checks, tests/proxy_unit_tests/test_auth_checks.py tests/proxy_unit_tests/test_user_api_key_auth.py, 20, 8) (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (key-generation, tests/proxy_unit_tests/test_key_generate_prisma.py, 30, 0) (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (remaining, tests/proxy_unit_tests --ignore=tests/proxy_unit_tests/test_key_generate_prisma.py --ignore=tests/proxy_unit_tests/test_auth_checks.py --ignore=tests/proxy_unit_tests/test_user_api_key_auth.py, 20, 8) (push) Has been cancelled
2026-04-05 01:38:47 -07:00
AlexsanderHamir
0631978916 refactor: move DEFAULT_REDIS_MAJOR_VERSION to constants.py 2025-11-13 09:24:47 -08:00
AlexsanderHamir
d432c96baf fix(redis): handle float redis_version from AWS ElastiCache Valkey
AWS ElastiCache Valkey returns redis_version as a float (7.0) instead
of a string ('7.0.0'), causing AttributeError: 'float' object has no
attribute 'split' in async_lpop when parsing version for LPOP count.

Changes:
- Extract version parsing into _parse_redis_major_version() helper
- Add DEFAULT_REDIS_MAJOR_VERSION constant (replaces magic number)
- Support multiple version formats: string, float, int, malformed
- Add comprehensive test coverage for all version format edge cases

Fixes: 'LiteLLM Redis Cache LPOP: - Got exception from REDIS' error
during db_spend_update_job cronjobs
2025-11-13 09:24:47 -08:00
Ishaan Jaffer
c217bddb59 fix linting 2025-11-08 11:14:19 -08:00
Krish Dholakia
e637733e36 fix(pass_through_endpoints.py): improve clearing logic - only remove unvisited endpoints (#16400)
simpler than clear all, and try to re-add
2025-11-08 11:14:09 -08:00
Ishaan Jaff
740be90dae revert noma apply guard (#16214) 2025-11-03 14:58:27 -08:00
Ishaan Jaff
ca79ebe7d2 UI - Fix regression where Guardrail Entity Could not be selected and entity was not displayed (#16165)
* fix PiiEntityCategoryMap

* fix OpenAIChatCompletionsHandler

* fix lint
2025-11-01 18:02:13 -07:00
Ishaan Jaffer
3c0d530197 test_async_vertexai_response_basic 2025-11-01 10:58:48 -07:00
Ishaan Jaffer
a188e5f8e4 test_litellm_anthropic_prompt_caching_system 2025-11-01 10:51:15 -07:00
Ishaan Jaffer
27502cfdfd fix PROXY_BATCH_WRITE_AT 2025-11-01 10:48:52 -07:00
Ishaan Jaffer
2608d37e8e test prompt caching ant 2025-11-01 10:36:22 -07:00
Ishaan Jaffer
b41ad66e38 ant test prompt caching 2025-11-01 10:09:01 -07:00
Ishaan Jaffer
99ebd8f95a fix: fix batch_writing_interval 2025-11-01 10:01:55 -07:00
Ishaan Jaffer
a45e2049f3 test_tool_call_with_empty_enum_property 2025-11-01 09:27:05 -07:00
yuneng-jiang
31a4ab4780
Building UI (#16158) 2025-11-01 09:26:52 -07:00
Ishaan Jaffer
978c52291f test_rerank_custom_callbacks 2025-11-01 09:25:29 -07:00
Ishaan Jaffer
bf934c0799 test_anthropic_api_prompt_caching_basic_with_cache_creation 2025-11-01 09:21:42 -07:00
Ishaan Jaffer
9632b96df7 mypy lint fix 2025-11-01 09:21:25 -07:00
Ishaan Jaffer
14543324af test_team_budget_metrics 2025-11-01 09:21:17 -07:00
Ishaan Jaffer
4f47680cbe fix test fixes 2025-10-31 21:00:31 -07:00
Ishaan Jaffer
f2b5a5f832 test google endpoints 2025-10-31 20:50:31 -07:00
Ishaan Jaffer
cd379c1321 test_anthropic_websearch 2025-10-31 20:43:07 -07:00
Ishaan Jaffer
b18cef300a undo test_anthropic_websearch change 2025-10-31 20:39:24 -07:00
Ishaan Jaffer
290e608818 get_computer_tool_beta_header 2025-10-31 20:38:37 -07:00
Ishaan Jaffer
a401055975 get_computer_tool_beta_header 2025-10-31 20:38:30 -07:00
Ishaan Jaffer
5e4da65664 fail ai test fix 2025-10-31 20:32:44 -07:00
Ishaan Jaffer
014362cace fix ocr test 2025-10-31 20:32:03 -07:00
Ishaan Jaffer
8388319863 fix _extract_usage_for_ocr_call 2025-10-31 20:31:53 -07:00
Ishaan Jaffer
a964e7f24c test_stream_token_counting_anthropic_with_include_usage 2025-10-31 20:24:58 -07:00
Ishaan Jaffer
2f1e947c44 test_anthropic_api_prompt_caching_basic 2025-10-31 19:32:46 -07:00
Ishaan Jaffer
27a98de600 test_health_and_chat_completion 2025-10-31 19:28:59 -07:00
Ishaan Jaffer
cd9cf2e6bd test fix 2025-10-31 19:23:08 -07:00
Ishaan Jaffer
af73879659 db_migration_disable_update_check 2025-10-31 19:23:08 -07:00
Ishaan Jaffer
c918dafb32 test_router_fallbacks_with_custom_model_costs 2025-10-31 19:23:08 -07:00
RoniGurvichCycode
eeda5ab84e
requirements update (#16054)
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
2025-10-31 19:18:03 -07:00
Ishaan Jaffer
6be9b97d15 test_stream_token_counting_anthropic_with_include_usage 2025-10-31 19:15:07 -07:00
dependabot[bot]
1bc88b5fc9
build(deps): bump starlette from 0.47.2 to 0.49.1 (#16027)
Bumps [starlette](https://github.com/Kludex/starlette) from 0.47.2 to 0.49.1.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/starlette/compare/0.47.2...0.49.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 0.49.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 19:13:11 -07:00
Ishaan Jaffer
6e46824939 test_streaming_response 2025-10-31 19:10:38 -07:00
Ishaan Jaffer
515ae9680e test_anthropic_tool_use 2025-10-31 19:08:32 -07:00
Ishaan Jaffer
f173cb0f54 test_anthropic_text_editor 2025-10-31 19:07:46 -07:00
Ishaan Jaffer
928fddb3be test_anthropic_structured_output 2025-10-31 19:06:45 -07:00
Ishaan Jaffer
7f79abb552 test_aastreaming_tool_calls_valid_json_str 2025-10-31 19:05:31 -07:00
Ishaan Jaffer
2cd57540a4 fix test fixes 2025-10-31 18:31:00 -07:00
Ishaan Jaffer
e6c9df230f fix linting 2025-10-31 18:26:22 -07:00
Ishaan Jaffer
22eb2f8033 Revert "Python entry-point for CustomLLM subclasses (#15881)"
This reverts commit 559ae96e38.
2025-10-31 18:24:39 -07:00
Ishaan Jaffer
94c2c28f3d claude-sonnet-4-5-20250929 fix 2025-10-31 18:20:52 -07:00
Ishaan Jaffer
bd52cb2983 bump proxy extras 2025-10-31 18:19:28 -07:00
Ishaan Jaffer
98af05fb43 add LiteLLM_SSOConfig 2025-10-31 18:15:37 -07:00
Ishaan Jaffer
159db27d5c fix test claude-sonnet-4-5-20250929 2025-10-31 18:13:29 -07:00
Ishaan Jaffer
d90f1696c3 UI new build 2025-10-31 18:11:41 -07:00