Commit graph

26388 commits

Author SHA1 Message Date
Ishaan Jaffer
c38c5d20cc test dynamic rate limiter 3 2025-10-04 12:06:13 -07:00
Krish Dholakia
79014a8522
Merge pull request #15184 from ARajan1084/edit-key-nonpremium-user-fix
fix: empty premium fields resulting in edit key blocking
2025-10-04 11:51:40 -07:00
Ishaan Jaffer
2dc11316f2 fix failing deepseek-ai/DeepSeek-V3.1 2025-10-04 11:50:30 -07:00
Ishaan Jaffer
cdfb53dd81 fix linting error 2025-10-04 11:40:47 -07:00
Krrish Dholakia
509927eec9 test: add vitest for clipboard http scenario 2025-10-04 11:34:12 -07:00
Krrish Dholakia
fff40e2ed6 fix(datautils.ts): fix clipboard copy issue on http endpoints 2025-10-04 11:29:15 -07:00
Ishaan Jaffer
7a41c09529 test bedrock embedding tests marengo 2025-10-04 11:27:29 -07:00
Ishaan Jaffer
44db58c8df test_e2e_bedrock_async_invoke_embedding_async_twelvelabs_marengo 2025-10-04 11:13:39 -07:00
Ishaan Jaffer
e7b570000e fix: azure passthrough test 2025-10-04 11:06:36 -07:00
Ishaan Jaffer
53503828b2 test fix 2025-10-04 10:57:02 -07:00
Ishaan Jaffer
6f298cf5f0 test_azure_openai_assistants_e2e_operations_stream 2025-10-04 10:53:46 -07:00
Ishaan Jaffer
4ab571f684 fix test /generateContent route 2025-10-04 10:49:46 -07:00
Ishaan Jaff
f78608082c
[Feat] Dynamic Rate Limiter v3 - fixes for detecting saturation + fixes for post saturation behavior (#15192)
* fix: test case 1, model hits saturation

* fix: _check_rate_limits test case 2

* fix: _get_priority_allocation

* test_default_priority_shared_pool

* fix: No Rate Limiting when low saturatation

* fix: correctly use  model_saturation_check

* fixes priority_descriptors

* fix: tune default PriorityReservationSettings
2025-10-04 10:45:17 -07:00
Alexsander Hamir
29a31e17dd
[Doc] Perf: Last week improvement (#15193)
* doc: perf update

* fix: mixed up changes

* fix: add gist
2025-10-04 10:43:13 -07:00
Ishaan Jaffer
ee36c30217 fix LF tests 2025-10-04 10:39:17 -07:00
Ishaan Jaffer
00f44861ea fix: gooogle GenAI route tests 2025-10-04 10:18:25 -07:00
Ishaan Jaffer
df9a19bc9d fix OPENAI_EMBEDDING_PARAMS 2025-10-04 10:11:21 -07:00
Ishaan Jaffer
1655a9aea8 fix lf tests 2025-10-04 10:02:56 -07:00
Ishaan Jaffer
eb417ed774 fix lf logging 2025-10-04 10:00:10 -07:00
Ishaan Jaffer
27fbfbe259 fix: include_subpath 2025-10-04 09:47:16 -07:00
Ishaan Jaffer
212a2e13f3 OTEL fix spans 2025-10-04 09:22:57 -07:00
Ishaan Jaffer
a040e0154a add openai 2025-10-04 09:19:00 -07:00
Ishaan Jaffer
4400a6c189 test bedrock guardrails 2025-10-04 09:18:26 -07:00
Alexsander Hamir
5d22229d35
[Fix] Cache - Avoiding expensive operations when cache isn't available (#15182)
* Optimize cache performance by avoiding expensive operations when caching is disabled

- Moved cache availability checks before expensive operations to improve performance for non-cached requests
- Updated client code to handle None responses from caching handler

* clean hot path

* Fix TypeError with isinstance check for CustomStreamWrapper in caching

Fixed `TypeError: typing.Any cannot be used with isinstance()` that was
occurring in the caching handler when checking cached streaming responses.

The issue was caused by CustomStreamWrapper being aliased to `typing.Any`
at runtime through the TYPE_CHECKING conditional import pattern. When the
code attempted to use isinstance(cached_result, CustomStreamWrapper) at
lines 222 and 338, it failed because Python's isinstance() cannot be used
with typing.Any.

Solution: Import CustomStreamWrapper at runtime separately from the
TYPE_CHECKING block, while keeping a type alias for static type checking.
This allows isinstance checks to work properly while maintaining type hints.

* fix: remove unnecessary type checking
2025-10-04 09:10:37 -07:00
Ishaan Jaffer
d50fbcdc00 fix: include_cost_in_streaming_usage 2025-10-04 09:05:02 -07:00
Ishaan Jaffer
89934f062c fix ruff check 2025-10-04 08:59:57 -07:00
Ishaan Jaffer
3d981680b0 fix ServerToolUse mypy lint error 2025-10-04 08:59:15 -07:00
Ishaan Jaffer
8e7c593f51 fix: transform_rerank_response 2025-10-04 08:55:48 -07:00
Krrish Dholakia
f5cda40bc6 feat: prisma migration 2025-10-04 08:53:08 -07:00
Ishaan Jaffer
67b0c874a3 ci/cd run again 2025-10-04 08:51:21 -07:00
Krish Dholakia
ad2270fe13
Merge pull request #14764 from daily-kim/litellm_fix_bearer_capitalization
Fix: Authorization header to use correct "Bearer" capitalization
2025-10-03 22:02:46 -07:00
Krish Dholakia
7d41f02d02
Merge pull request #14813 from shagunb-acn/bugfix-14404-image-gen-azure-managed-identity
#14404 BugFix - Add support for Azure AD token-based authorization in…
2025-10-03 21:53:59 -07:00
Krish Dholakia
c83a3ac9b4
Merge pull request #14939 from Toy-97/patch-1
update: DeepInfra model data refresh [2025-09-26]
2025-10-03 21:48:31 -07:00
Krish Dholakia
206f67a11e
Merge pull request #15183 from uc4w6c/fix/test_mcp_server
test: fix test_mcp_server.py
2025-10-03 21:44:52 -07:00
YutaSaito
81a8766b84
feat: add JP Cross-Region Inference (#15188) 2025-10-03 21:20:04 -07:00
Krrish Dholakia
39cac8e58a build(ui/): show updated schema.prisma 2025-10-03 19:07:50 -07:00
Krrish Dholakia
aa1b690494 feat(ui/): allow user to edit allowed tools for an mcp server 2025-10-03 19:05:56 -07:00
=
aca8ae7962 fixes issue where empty premium fields were blocking key edit 2025-10-03 18:57:50 -07:00
Krrish Dholakia
6691d0bc85 feat(proxy/): add edit / view for extra headers on MCP servers 2025-10-03 18:57:27 -07:00
Krrish Dholakia
c00cedcf26 feat(ui/): display the MCP extra headers on the UI
allow user to see what extra headers they set
2025-10-03 18:43:41 -07:00
Krrish Dholakia
562e7a4e03 feat(proxy/_types.py): add new extra_headers param support to API request
allows admin to specify which headers they want to forward to the backend MCP server
2025-10-03 18:29:37 -07:00
Krrish Dholakia
274c5e963d feat(ui/): allow user to forward additional headers to the MCP server from the UI 2025-10-03 18:22:11 -07:00
Krrish Dholakia
950210790b feat(create_mcp_server.tsx): initial ui component for adding extra headers, allowed tools, disallowed tools to litellm ui
Closes LIT-1183
2025-10-03 18:12:31 -07:00
Krrish Dholakia
72b5cf2b71 fix(schema.prisma): add new db columns 2025-10-03 17:57:25 -07:00
Krrish Dholakia
45f7f86480 feat(mcp_servers.tsx): show health of mcp servers on UI
allow user to know if mcp server is in invalid state
2025-10-03 17:42:06 -07:00
Krrish Dholakia
3816d3b36f test: add unit testing 2025-10-03 17:27:49 -07:00
Krrish Dholakia
6ccb20d69d fix(mcp_server_manager.py): mark mcp server as unhealthy and show reason for not being able to serve it on list servers on ui
make it easy for user to debug why server can't be added
2025-10-03 17:25:08 -07:00
Krrish Dholakia
c043ad6c2b fix: replace list in for set in
faster
2025-10-03 17:17:20 -07:00
Krrish Dholakia
69edc546c0 fix(mcp_server_manager.py): don't return an invalid server id on list servers
Prevents user from hitting 'server not found' error, even when they see it being listed on litellm ui
2025-10-03 17:15:15 -07:00
Krrish Dholakia
742038bb5e build: deploy/
push new prisma migration
2025-10-03 16:52:03 -07:00