Commit graph

25352 commits

Author SHA1 Message Date
Ishaan Jaff
58b713d19d
[Bug fix] Misclassified 500 error on invalid image_url in /chat/completions request (#14149)
* add ImageFetchError

* docs ImageFetchError

* fix ImageFetchError

* test_completion_with_invalid_image_url
2025-09-01 15:26:27 -07:00
Ishaan Jaff
2985915357
[Perf] LiteLLM Proxy: +400 RPS when using correct amount of CPU cores (#14153)
* bump: DEFAULT_NUM_WORKERS_LITELLM_PROXY

* fix: DEFAULT_NUM_WORKERS_LITELLM_PROXY
2025-09-01 15:26:16 -07:00
Krish Dholakia
9e947fce19
Merge pull request #14087 from zainhas/main
update together models
2025-09-01 15:07:58 -07:00
Abhinav
b6c26c3365
helm(chart): add optional PodDisruptionBudget for litellm proxy (#14062) (#14093) 2025-09-01 12:21:44 -07:00
Krish Dholakia
a6f8808b0b
Merge pull request #14134 from BerriAI/back-to-logs
Back to Keys should say Back to Logs
2025-09-01 12:01:47 -07:00
Sameer Kankute
c51665ec9c
fix xai cost calculation (#14127) 2025-09-01 11:31:56 -07:00
tanjiro
735af5bf36
success tooltip added (#14132) 2025-09-01 11:08:58 -07:00
tanjiro
ca70b689af
Logs page screen size fixed (#14135)
* width fixed

* tailwind css instead of inline css

* minor width fixes

* time button fixed

* fixed width for the "showing..." part
2025-09-01 11:08:09 -07:00
Ivan Krakhmaliuk
76dd9d8110 GPT-5: Test for unsupported params 2025-09-01 20:30:43 +03:00
Ivan Krakhmaliuk
2622a0634a
GPT-5: Remove params unsupported with reasoning models 2025-09-01 19:51:54 +03:00
mubashir1osmani
2626123aca added litellm_spend_metric 2025-09-01 11:33:34 -04:00
mubashir1osmani
5649c0f0b9 Revert "feat: add persistence and management for guardrails on virtual keys"
This reverts commit 6cd5afa8b1.
2025-09-01 10:45:46 -04:00
mubashir1osmani
a6790ac158 Revert "feat: add UI support for displaying and managing guardrails on virtual keys"
This reverts commit 83654c5608.
2025-09-01 10:45:44 -04:00
mubashir1osmani
31cfe1fe0a Revert "fix: import verbose_proxy_logger to resolve undefined name errors"
This reverts commit a8f2ebed9c.
2025-09-01 10:45:38 -04:00
mubashir1osmani
8de65e8448 fix: added prometheus missing metrics 2025-09-01 10:36:51 -04:00
mubashir1osmani
af2f447698 added prometheus metrics 2025-09-01 10:28:48 -04:00
retanoj
e05ffcfb4c fix back 2025-09-01 20:09:19 +08:00
retanoj
002c2f16dc fix token count error when proxy gemini cli to openai like model 2025-09-01 20:02:53 +08:00
Krish Dholakia
fd0f47d48d Merge pull request #14005 from moshemorad/bedrock_fix_structure_output
Bedrock fix structure output
2025-09-01 14:50:08 +03:00
TomeHirata
cf676e7aef fix mypy 2025-09-01 17:51:24 +09:00
TomeHirata
1ac7f875c9 fix test 2025-09-01 17:21:47 +09:00
TomeHirata
e334f48699 Add supported text field to anthropic citation response 2025-09-01 16:46:54 +09:00
TomeHirata
ca6d77b479 fix citation field name 2025-09-01 16:41:35 +09:00
onlylhf
e312c23533 Refactoring: Remove the transform-REquest and transform-REsponse methods, and directly implement the response transformation logic in transform_ embedding-REsponse; Enhance environment validation to ensure the validity of api_key 2025-09-01 13:29:06 +08:00
onlylhf
bfed4e0a6a Add a complete URL generation method for embedding Volcengine API and optimize request and response processing logic; Delete redundant test files and refactor integration testing to improve readability and maintainability. 2025-09-01 13:18:19 +08:00
mubashir1osmani (aider)
a8f2ebed9c fix: import verbose_proxy_logger to resolve undefined name errors 2025-09-01 01:17:46 -04:00
mubashir1osmani (aider)
83654c5608 feat: add UI support for displaying and managing guardrails on virtual keys 2025-09-01 01:17:08 -04:00
mubashir1osmani (aider)
6cd5afa8b1 feat: add persistence and management for guardrails on virtual keys 2025-09-01 00:56:22 -04:00
Krrish Dholakia
0c9051abba docs(docker_quick_start.md): add docker compose to quick start 2025-08-31 21:24:30 -07:00
Krrish Dholakia
2ad77d9bf6 feat(ollama/completion): output parse thinking content on streaming + non-streaming for ollama completion calls
Completes 'thinking' param support for ollama
2025-08-31 21:17:10 -07:00
Krrish Dholakia
e6429f6565 feat(ollama_chat/transformation.py): handle thinking content on streaming for ollama chat models
Output parse correctly to 'reasoning_content'
2025-08-31 20:55:01 -07:00
Krrish Dholakia
90bd89c7fd feat(ollama_chat/): add 'think' param support + output parse '<think>' content into 'reasoning_content'
Ensures consistent use of thinking
2025-08-31 20:38:52 -07:00
Krrish Dholakia
3a68ca5140 fix(ollama/chat): add 'think' param support 2025-08-31 20:29:21 -07:00
Krrish Dholakia
130c1dd4fc fix(types/openai.py): add default none values to responsesapiresponse object
Fixes https://github.com/BerriAI/litellm/issues/14061
2025-08-31 20:25:12 -07:00
iabhi4
75e698feef bug(auth): support for ES256/ES384/ES512 and EdDSA JWT verification 2025-08-31 15:58:26 -07:00
Dharamendra Kumar
4278c3b596 feat: Add dependency injection support to BaseLLMAIOHTTPHandler
- Add optional client_session, transport, and connector parameters to constructor
- Implement session ownership tracking to prevent closing user-provided sessions
- Add comprehensive session resolution hierarchy (dynamic > instance > create new)
- Include transport control for advanced HTTP stack management
- Add 29 comprehensive tests covering all injection scenarios
- Maintain backward compatibility with existing code

This enhancement allows users to inject their own configured aiohttp sessions,
transports, and connectors for fine-grained control over connection pooling,
SSL settings, proxy configurations, and other HTTP stack parameters.
2025-08-31 11:14:19 -07:00
tanjiro
15baaf68db back to logs added conditionally 2025-08-31 17:09:11 +09:00
Yuta Saito
d83c420d48 feat: Add guardrail for the Anthropic API endpoint 2025-08-31 16:44:01 +09:00
tanjiro
f17b5730a5 client side pagination of models page 2025-08-31 15:06:29 +09:00
tanjiro
82cec3885e model filters ui matches the users page 2025-08-31 14:33:15 +09:00
tanjiro
eed2358335 move filter inside user table 2025-08-31 14:03:32 +09:00
Krrish Dholakia
b6f6dc5c1c feat(vertex_ai.py): support parsing thinking content into gemini format
allows function calls with thought signatures to be sent back to gemini

  Closes https://github.com/BerriAI/litellm/pull/13842
2025-08-30 18:49:34 -07:00
Krrish Dholakia
51c73dc60b fix(vertex_and_google_ai_studio_gemini.py): bubble up thoughtsignature back to client 2025-08-30 17:26:18 -07:00
Ishaan Jaff
dea3b53578 UI new build 2025-08-30 17:13:48 -07:00
Krrish Dholakia
599071321d fix(braintrust_logging.py): refactor to consistently use standard logging payload 2025-08-30 16:24:03 -07:00
Krrish Dholakia
9cffabb433 refactor(braintrust_logging.py): migrate braintrust logging to standard logging payload
avoids issue with span in request metadata

standard logging payload is always json serializable
2025-08-30 16:17:57 -07:00
Krrish Dholakia
cb5464421f fix(braintrust_logging.py): filter metadata before logging
avoid unserializable json
2025-08-30 16:11:39 -07:00
tanjiro
ce8e24fea8 Merge branch 'main' into teams-on-users-page 2025-08-31 07:51:13 +09:00
Ishaan Jaff
ccb7ce03a3
[Docs] v1.76.1-stable (#14094)
* docs 1.76.1

* fix docs

* docs 1.76.1

* New Model Support

* docs fixes
2025-08-30 14:54:27 -07:00
John Lathouwers
cf5a695571
Merge branch 'BerriAI:main' into main 2025-08-30 22:03:39 +01:00