Ishaan Jaff
708c0bd78d
[Feat] Return Cost for Responses API Streaming requests ( #15053 )
...
* test_basic_openai_responses_api_streaming
* _transform_chat_completion_usage_to_responses_usage
* ResponseAPIUsage.cost
* test fixes for anthropic cost with /responses
* fix mypy typng
2025-09-29 19:47:04 -07:00
Ishaan Jaffer
3e474b9e81
fix claude-sonnet-4-5 model cost map
2025-09-29 18:26:29 -07:00
Ishaan Jaffer
f1578b49e2
vertex_httpx_mock_post
2025-09-29 18:25:54 -07:00
Copilot
f22fd4cddd
Fix: Add /v1/messages/count_tokens to Anthropic routes for non-admin user access ( #15034 )
...
* Initial plan
* Fix: Add /v1/messages/count_tokens to Anthropic routes for user access
Co-authored-by: ishaan-jaff <29436595+ishaan-jaff@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ishaan-jaff <29436595+ishaan-jaff@users.noreply.github.com>
2025-09-29 18:16:52 -07:00
Ishaan Jaff
ebf72f5eb9
[Fix] Parallel Request Limiter v3 - use well known redis cluster hashing algorithm ( #15052 )
...
* test_keyslot_for_redis_cluster
* fix _is_redis_cluster
* Update litellm/proxy/hooks/parallel_request_limiter_v3.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 18:12:44 -07:00
Ishaan Jaff
f6d7683261
[Feat] LiteLLM Overhead metric tracking - Add support for tracking litellm overhead on cache hits ( #15045 )
...
* test_litellm_overhead
* vertex track overhead
* fix config.yaml used for testing
* test_litellm_overhead_stream
* add update_response_metadata for caching handler
* add CachingDetails
* fix update_response_metadata import
* add CachingDetails metrics
* add CachingDetails
* test_litellm_overhead_cache_hit
* test_litellm_overhead_cache_hit
* test_litellm_overhead_cache_hit
2025-09-29 17:33:27 -07:00
Ishaan Jaffer
55110ba6ae
Revert "fix _is_redis_cluster"
...
This reverts commit 67abd8880a .
2025-09-29 16:42:31 -07:00
Ishaan Jaffer
f303860881
Revert "test_keyslot_for_redis_cluster"
...
This reverts commit 52de33787b .
2025-09-29 16:42:15 -07:00
Ishaan Jaffer
52de33787b
test_keyslot_for_redis_cluster
2025-09-29 16:41:32 -07:00
Ishaan Jaffer
67abd8880a
fix _is_redis_cluster
2025-09-29 16:40:46 -07:00
Alexsander Hamir
d4830e34e5
fix: remove router inefficiencies (from O(M*N) to O(1)) - 62.5% faster P99 latency ( #15046 )
...
* fix: remove redundant deep copy
set_model_list already does the deep copy at the beginning of the call.
* fix: remove unused model_list arguments
The `model_list` parameter was being passed to classes that did not use it.
* fix: reduce per-request memory and time from O(N×M) to O(N)
No need to create a whole array for a simple look up.
* add: missing test
* fix: remove unused parameter
2025-09-29 15:49:46 -07:00
Ishaan Jaffer
e0172b86e2
test_litellm_overhead_non_streaming
2025-09-29 15:48:32 -07:00
Ishaan Jaff
619577d4e8
[Feat] Add litellm overhead metric for VertexAI ( #15040 )
...
* test_litellm_overhead
* vertex track overhead
* fix config.yaml used for testing
* test_litellm_overhead_stream
* add update_response_metadata for caching handler
* Revert "add update_response_metadata for caching handler"
This reverts commit f2a891f2b4 .
2025-09-29 15:15:25 -07:00
Ishaan Jaff
05955042d5
Add model pricing and context window for claude-sonnet-4-5 ( #15049 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ishaan <ishaan@berri.ai>
2025-09-29 15:09:40 -07:00
Sameer Kankute
3ab1c31e4e
(Feat) Add cost tracking for Vertex AI Passthrough /predict endpoint ( #15019 )
...
* Add cost tracking for passthrough for predict endpoint
* restore file
2025-09-29 13:19:04 -07:00
Ishaan Jaff
038863a1fe
[Feat] Add new claude-sonnet-4-5 model family ( #15041 )
...
* add new claude-sonnet-4-5
* docs fix
* fix tool_use_system_prompt_tokens
* add anthropic.claude-sonnet-4-5-20250929 to bedrock converse models
2025-09-29 13:09:00 -07:00
Ishaan Jaff
4dc23e8079
Revert "feat: improve vertex AI/gemini api_base handling for proxy services (…" ( #15042 )
...
This reverts commit ff2d19e4ca .
2025-09-29 13:03:46 -07:00
Krrish Dholakia
a9dcb51d03
fix: add lint
2025-09-29 12:28:43 -07:00
Zero Clover
ff2d19e4ca
feat: improve vertex AI/gemini api_base handling for proxy services ( #15039 )
2025-09-29 12:12:32 -07:00
Krish Dholakia
0d738b2899
Merge pull request #14986 from uc4w6c/fix/remove-servername-prefix-mcp_tools-tests
...
Fix/remove servername prefix mcp tools tests
2025-09-28 18:00:23 -07:00
Krish Dholakia
e7939b0521
Merge pull request #14983 from abhijitjavelin/main
...
Feat: Add Javelin standalone guardrails integration for LiteLLM Proxy
2025-09-28 17:59:07 -07:00
Krish Dholakia
0995b335ca
Merge pull request #15004 from BerriAI/cursor/update-litellm-docs-from-latest-release-d2ca
...
Update litellm docs from latest release
2025-09-28 17:57:47 -07:00
Krish Dholakia
b68510275b
Merge pull request #15005 from jpetrucciani/pop_atranscription
...
fix passthrough of atranscription into kwargs going to upstream provider
2025-09-28 17:57:00 -07:00
Krrish Dholakia
5d8e1c4409
fix: fix tests
2025-09-28 17:55:51 -07:00
Krrish Dholakia
f32b0364c4
fix: fix tests
2025-09-28 17:55:46 -07:00
Krish Dholakia
7454e5a118
Merge pull request #15008 from wenxi-onyx/add-ollama-cloud-models
...
feat: add ollama cloud models
2025-09-28 17:49:22 -07:00
Krish Dholakia
ddb81a6883
Merge pull request #15010 from eycjur/fix_vllm_audio_transcription_json_format
...
[Fix] response_format bug in hosted vllm audio_transcription
2025-09-28 17:47:15 -07:00
Krrish Dholakia
ba5cc5a5b3
fix: fix linting errors
2025-09-28 17:45:04 -07:00
eycjur
070094c739
Set the response_format as it is
2025-09-29 08:11:24 +09:00
Yuta Saito
be5010a675
test: fix tests
2025-09-29 07:21:32 +09:00
Yuta Saito
4f15d1240e
fix: resolve linting errors
2025-09-29 07:13:20 +09:00
Yuta Saito
dae7d08ff2
Revert "Revert "Merge pull request #14720 from uc4w6c/feat/remove-servername-prefix-mcp_tools""
...
This reverts commit a88d774f94 .
2025-09-29 07:12:24 +09:00
Wenxi Onyx
ad29d2f944
add models served from ollama cloud
2025-09-28 14:06:08 -07:00
Wenxi Onyx
4adb854e51
add models served from ollama cloud
2025-09-28 13:20:35 -07:00
Abhijit L
feac008331
fix: format
2025-09-28 23:52:44 +05:30
Abhijit L
9122614dbe
fix: make it discoverable on ui
2025-09-28 23:49:20 +05:30
jacobi petrucciani
6249f4efa5
fix passthrough of atranscription into kwargs going to upstream provider
2025-09-28 12:46:43 -04:00
Cursor Agent
c684a18e38
feat: Add OAuth2 auth and scheduled key rotation
...
Co-authored-by: teddy <teddy@berri.ai>
2025-09-28 16:39:35 +00:00
Krrish Dholakia
208cd5fcb5
bump: version 1.77.5 → 1.77.6
2025-09-28 09:27:08 -07:00
Krish Dholakia
c328b4a036
Merge pull request #15002 from BerriAI/litellm_dev_09_27_2025_p3
...
MCP - specify forwardable headers, specify allowed/disallowed tools for MCP servers
2025-09-28 09:21:52 -07:00
Krrish Dholakia
433624706e
fix: fix linting errors
2025-09-28 09:18:02 -07:00
Krish Dholakia
cd4b05f61d
Merge pull request #14997 from eycjur/fix_azure_batch
...
[Fix] Use the `extra_query` parameter for GET requests in Azure Batch
2025-09-28 09:13:07 -07:00
Krish Dholakia
1257033e27
Merge pull request #14998 from herve-ves/fix_ui_blank_litellm_model_name_field
...
[Fix] Fix LiteLLM model name fallback in dashboard overview
2025-09-28 09:12:08 -07:00
Krrish Dholakia
53d0cbb1b7
fix: update tests + logic for passing multiple headers
2025-09-28 09:09:11 -07:00
Krrish Dholakia
9403efa511
test: fix tests
2025-09-28 08:54:15 -07:00
Krrish Dholakia
1256dd53d9
test: update tests
2025-09-28 08:53:11 -07:00
Krrish Dholakia
e6810b5f87
docs(mcp.md): add allow/disallowed tools to docs
2025-09-28 08:50:40 -07:00
Abhijit L
0d7256cd4e
fix: reject status code and tests.
2025-09-28 16:56:28 +05:30
Abhijit L
8169c61a48
fix: tests
2025-09-28 15:46:38 +05:30
hervelin
0d2cd1b98e
UI new build
2025-09-28 18:14:52 +08:00