Ryan Crabbe
fc130376d9
test: add test for get_router_model_info with Deployment object
...
Verifies that get_router_model_info accepts a Deployment object directly
and properly handles the LiteLLM_Params isinstance check.
2026-02-06 10:13:54 -08:00
Ryan Crabbe
6500503ea5
perf: reuse LiteLLM_Params in get_router_model_info to avoid redundant construction
...
Pass Deployment object directly instead of converting to dict with .model_dump(),
then reuse the existing LiteLLM_Params instance via isinstance check. This
eliminates redundant Pydantic model construction in the deployment callback path.
~8% improvement in deployment_callback_on_success total time.
2026-02-06 10:03:36 -08:00
yuneng-jiang
b859d76cc2
Merge pull request #20553 from BerriAI/litellm_team_soft_budget_email
...
[Feature] Team Soft Budget Email Alerts
2026-02-06 09:36:16 -08:00
Alexsander Hamir
09fb6d0087
Warn when budget lookup fails; cache won't populate ( #20545 )
...
* Warn when budget lookup fails; cache won't populate
- Add _log_budget_lookup_failure helper in auth_checks.py
- Log at WARNING in get_user_object, get_team_object, get_key_object
when DB lookups fail (schema mismatch, etc.)
- Add schema migration hint for prisma/db errors
- Add dry-run test for _log_budget_lookup_failure
* fix: skip budget lookup failure log for expected user-not-found case
Avoid logging 'cache will not be populated' when the user simply doesn't
exist - not caching is correct behavior in that case. Only log for
unexpected errors (schema, DB, etc.) where the message is meaningful.
2026-02-06 09:24:44 -08:00
Alexsander Hamir
53a1f2d21c
perf(prometheus): parallelize budget metrics, fix caching bug, reduce CPU by ~40% ( #20544 )
2026-02-06 09:18:24 -08:00
Sameer Kankute
ad1282de82
Merge pull request #20551 from BerriAI/litellm_opus_4.6_thinking
...
Add full support for Opus 4.6 (Anthropic, Azure AI, Bedrock, Vertex AI)
2026-02-06 19:30:47 +05:30
Sameer Kankute
eab7a99800
Merge pull request #20578 from BerriAI/litellm_claude_code_beta_headers
...
Add unsupported claude code beta headers in json
2026-02-06 19:10:13 +05:30
Sameer Kankute
285b2d2a12
add context_management header for compact_20260112 for messages
2026-02-06 19:06:49 +05:30
Sameer Kankute
db8423b799
Fix: test_json_response_nested_json_schema
2026-02-06 18:52:04 +05:30
Sameer Kankute
2e0715bd61
Fix mypy issue
2026-02-06 18:45:54 +05:30
Sameer Kankute
05ce4c68e5
Fix: test_vertex_ai_partner_models_anthropic_remove_prompt_caching_scope_beta_header
2026-02-06 18:34:57 +05:30
Sameer Kankute
fa26c6eeec
fix mypy issue
2026-02-06 18:29:28 +05:30
Sameer Kankute
40ff79655c
Add not_available in inference_geo
2026-02-06 18:29:28 +05:30
Sameer Kankute
786bd6ebc0
Fix merge conflicts
2026-02-06 18:29:14 +05:30
Sameer Kankute
c1a43914ee
Add documentation related to new beta header json
2026-02-06 17:54:56 +05:30
Sameer Kankute
3f9a7b1956
Add update_headers_with_filtered_beta in all messages API providers
2026-02-06 17:45:45 +05:30
Sameer Kankute
25a19b2091
Add update_headers_with_filtered_beta in anthropic
2026-02-06 17:45:05 +05:30
Sameer Kankute
920fea9520
feat: Add Unsupported Anthropic beta headers for each provider json
2026-02-06 17:44:09 +05:30
Sameer Kankute
bfd21b5e00
Merge branch 'main' into litellm_opus_4.6_thinking
2026-02-06 14:17:40 +05:30
Sameer Kankute
d07c87860d
Merge pull request #20514 from PeterDaveHelloKitchen/feat/add-claude-opus-4-6-model
...
Align Claude Opus 4.6 metadata and limits
2026-02-06 14:14:52 +05:30
Sameer Kankute
a2b29d6328
Add complete documentation for claude_opus_4_6
2026-02-06 14:04:39 +05:30
Sameer Kankute
1ec89b8a04
Feat: add inference_geo based pricing
2026-02-06 13:58:47 +05:30
Sameer Kankute
0934a4ab68
Correct litellm/litellm/llms/anthropic/chat/transformation.py
2026-02-06 13:08:43 +05:30
Sameer Kankute
358a081f63
Add compaction support for vertex ai
2026-02-06 12:52:28 +05:30
Sameer Kankute
1396813d74
The compact beta feature is not currently supported on the Converse and ConverseStream APIs
2026-02-06 12:52:28 +05:30
Sameer Kankute
d0444f402c
Add test for compaction in anthropic
2026-02-06 12:52:28 +05:30
Sameer Kankute
7a473f2954
Apply suggestion from @greptile-apps[bot]
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-06 12:07:13 +05:30
Sameer Kankute
ea518a7684
Apply suggestion from @greptile-apps[bot]
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-06 12:06:50 +05:30
Sameer Kankute
887a977ab4
Add doc on how to enable compaction via chat completion
2026-02-06 12:05:36 +05:30
Sameer Kankute
24dda99bd7
Handle compaction block in the input request
2026-02-06 11:55:12 +05:30
Sameer Kankute
c03ba8394e
Add compaction block in provider spcific fields streaming+ non streaming
2026-02-06 11:54:47 +05:30
Sameer Kankute
039b37fac1
Add compaction type block in the output
2026-02-06 11:31:35 +05:30
yuneng-jiang
0cb79ace97
Fixing tests
2026-02-05 21:44:00 -08:00
yuneng-jiang
b3f0dccf56
enterprise build
2026-02-05 21:31:20 -08:00
yuneng-jiang
e39530d0e6
bump: version 0.1.30 → 0.1.31
2026-02-05 21:28:13 -08:00
yuneng-jiang
b60d94d655
addressing comments
2026-02-05 21:27:42 -08:00
yuneng-jiang
de70a1c273
Merge pull request #20554 from BerriAI/ui_build_yj_03
...
[Refactor] Rename admins to AdminPanel
2026-02-05 21:12:48 -08:00
yuneng-jiang
968b953f84
rename admins to AdminPanel
2026-02-05 21:11:26 -08:00
yuneng-jiang
3504f05a5c
Adding tests + update pyproject
2026-02-05 21:00:05 -08:00
yuneng-jiang
704fac56fe
reverting .29 deletion
2026-02-05 20:51:55 -08:00
yuneng-jiang
7f11fa0a05
enterprise build
2026-02-05 20:48:07 -08:00
yuneng-jiang
828b13279e
bump: version 0.1.29 → 0.1.30
2026-02-05 20:44:43 -08:00
yuneng-jiang
ec5dc0be51
email soft budgets
2026-02-05 20:42:43 -08:00
yuneng-jiang
5ce5399fbb
Merge pull request #20469 from swayambhu94/fix/ui/model-hub-table-crash
...
fix: Add array type checks for model, agent, and MCP hub data to prev…
2026-02-05 20:14:51 -08:00
yuneng-jiang
26cdc4a47b
Merge pull request #20465 from BerriAI/litellm_ui_dep_tremor
...
[Refactor] UI - Admin Page: Migrate to AntD Tabs
2026-02-05 20:12:17 -08:00
Sameer Kankute
1bcd407af6
Add adaptive thiking for bedrock converse
2026-02-06 09:40:16 +05:30
Sameer Kankute
f15dd691b4
Fix anthropic.claude-opus-4-6-v1 for bedrock
2026-02-06 09:28:50 +05:30
Sameer Kankute
186fd2e64e
Add adaptive thinking support for anthropic opus 4.6
2026-02-06 09:24:43 +05:30
Cesar Garcia
95f8cbe5ca
[Feat] add ElevenLabs eleven_v3 and eleven_multilingual_v2 to model cost map ( #20522 )
...
* [Feat] add ElevenLabs `eleven_v3` and `eleven_multilingual_v2` to model cost map
Register ElevenLabs TTS models for cost tracking:
- elevenlabs/eleven_v3: most expressive model, 70+ languages, audio tags
- elevenlabs/eleven_multilingual_v2: default TTS model, 29 languages
Also update ElevenLabs docs with supported models table and eleven_v3 audio tags example.
* docs: remove model-agnostic tip from ElevenLabs docs
2026-02-05 19:37:42 -08:00
Cesar Garcia
8263c8ad15
feat(web_search): add gpt-5-search-api model and docs clarifications ( #20512 )
...
* docs(web_search): clarify OpenAI search model requirements
- Add gpt-5-search-api to supported OpenAI search models
- Add warning that regular models (gpt-5, gpt-4.1) do NOT support web_search_options
- Add tip that web_search_options is optional for search models
* feat(models): add gpt-5-search-api pricing for OpenAI and Azure
2026-02-05 19:36:43 -08:00