Commit Graph

34378 Commits

Author SHA1 Message Date
yuneng-jiang
990b7ff93d Fixing CI/CD 2025-12-29 13:18:48 -08:00
yuneng-jiang
108fc4a59f Using microsoft official docker for playwright 2025-12-29 13:10:50 -08:00
yuneng-jiang
657eb2b09b attempt fix 2 2025-12-29 12:57:36 -08:00
yuneng-jiang
ab89587aca circle ci config change for e2e 2025-12-29 12:49:28 -08:00
yuneng-jiang
41fa2c0812 migrate e2e tests to ui directory 2025-12-29 12:00:03 -08:00
yuneng-jiang
a1849a152c Playwright setup in UI directory 2025-12-29 11:27:22 -08:00
YutaSaito
ce0aba9aec
Merge pull request #18498 from Prazeina/patch-1 2025-12-30 00:09:13 +09:00
Daniel Krueger
d7468dab7e fix authentication errors at messages API via azure_ai
Use x-api-key instead of api-key.
This has been removed by commit 61e737e361 for unknown reason.
2025-12-29 15:29:54 +01:00
Prajeena Maharjan
b720fba142
Fix formatting in proxy configs documentation
Got an error message:

{"error":{"message":"Invalid JSON payload: trailing comma is not allowed: line 8 column 8 (char 141)","type":"invalid_request_error","param":"request_body","code":"400"}}%
2025-12-28 23:48:43 -06:00
YutaSaito
a569369195
Merge pull request #18443 from BerriAI/litellm_fix_health_status
fix health status
2025-12-29 14:16:38 +09:00
Devaj
e4c9b0bea2 fix(vertex_ai): convert image URLs to base64 for Vertex AI Anthropic
Fixes #18430

  - Pass custom_llm_provider to anthropic_messages_pt instead of hardcoded 'anthropic'
  - Add check for vertex_ai provider to force base64 conversion for image URLs
  - Add tests to verify behavior for both Vertex AI and regular Anthropic
2025-12-29 09:55:41 +05:30
Chesars
e31ee9be51 feat: Add MiniMax official logo to UI
- Downloaded official MiniMax logo from HuggingFace repository
- Added minimax.svg to assets/logos directory
- Updated providerLogoMap to reference the logo
- Logo source: https://huggingface.co/MiniMaxAI/MiniMax-VL-01
2025-12-29 00:21:14 -03:00
Chesars
93628c06ee feat: Add MiniMax provider support to UI dashboard
- Add MiniMax to provider_create_fields.json with credential fields:
  - api_key (required, password field)
  - api_base (optional, defaults to https://api.minimax.io/v1)
- Add MiniMax to UI provider enum and mappings
- Includes tooltip for International vs China endpoints
- Default model placeholder: minimax/MiniMax-M2

This enables users to configure MiniMax models directly through the
proxy UI dashboard without needing to edit YAML config files.

Fixes #18481
2025-12-29 00:19:20 -03:00
YutaSaito
61f64f4e7d
Merge pull request #18489 from BerriAI/litellm_feat_guardrail-log-actual-event-type
Litellm feat guardrail log actual event type
2025-12-29 07:18:21 +09:00
yurekami
f5024624d7 fix: correct deepseek-v3p2 pricing for Fireworks AI
Updated pricing for fireworks_ai/accounts/fireworks/models/deepseek-v3p2:
- input_cost_per_token: 1.2e-06 -> 5.6e-07 ($0.56/1M tokens)
- output_cost_per_token: 1.2e-06 -> 1.68e-06 ($1.68/1M tokens)

Pricing verified from https://fireworks.ai/models/fireworks/deepseek-v3p2

Fixes #17998

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 03:44:03 +09:00
hamzaq453
b33f1ec2b2 Fix: Remove exec() usage and handle invalid OpenAPI parameter names
- Add to_safe_identifier() to convert any parameter name to valid Python identifier
- Refactor create_tool_function() to use closure with **kwargs instead of exec()
- Handle edge cases: hyphens, dots, leading digits, Python keywords, special chars
- Add comprehensive test suite covering all edge cases
- Fixes #18471: OpenAPI MCP server crashes on invalid parameter names
- Security: Eliminates arbitrary code execution risk from untrusted OpenAPI specs
2025-12-28 19:28:11 +05:00
Chesars
085a7a0c31 Prevent auto_update_price_and_context_window workflow from running in forks
Add repository check to ensure the scheduled workflow only runs in the main BerriAI/litellm repository, preventing unnecessary executions in forks.
2025-12-28 11:20:25 -03:00
mubashir1osmani
861b103dc0
added google image gen models
added google image gen models
2025-12-27 19:55:27 -05:00
mubashir1osmani
043d968c5a added google image gen models 2025-12-27 19:54:39 -05:00
Yuta Saito
c6d6ffd567 fix: mypy error 2025-12-27 07:28:16 +09:00
Yuta Saito
7d673c308d lint 2025-12-27 07:23:07 +09:00
Yuta Saito
8bf0b9e19b feat: add event_type parameter to add_standard_logging_guardrail_information_to_request_data 2025-12-27 07:20:34 +09:00
Yuta Saito
6888d34ea5 feat: Log actual executed event type in guardrail logging 2025-12-27 07:20:24 +09:00
YutaSaito
845533c187
Merge pull request #18440 from BerriAI/litellm_feat_playground-completions-mcp-test
feat: add MCP test support to completions on Playground
2025-12-27 05:54:51 +09:00
Yuta Saito
aa0ff9131e fix: format 2025-12-26 16:59:31 +09:00
Yuta Saito
c25ceb5596 refactor: MCP health check 2025-12-26 16:55:51 +09:00
Yuta Saito
3a141e642a fix: get_all_mcp_servers_with_health_and_teams 2025-12-26 15:37:41 +09:00
Yuta Saito
4ec6a827b4 fix: add model validation on Playground 2025-12-26 11:32:34 +09:00
Yuta Saito
f6ed80028d feat: add MCP test support to completions on Playground 2025-12-26 11:24:09 +09:00
YutaSaito
78b5d40664
Merge pull request #18418 from BerriAI/litellm_fix_datadog-llm-observability-intermittent-failure
fix: Datadog span kind fallback when parent_id missing
2025-12-26 10:05:08 +09:00
Andrew Bernat
6daddbcdab
add license endpoint (#18311)
* Add license health endpoint

* Address review feedback for license endpoint

* Refactor license health endpoint helpers

* Remove unused timezone import from health_endpoints.py

---------

Co-authored-by: Plan42.ai <robot@plan42.ai>
2025-12-25 11:11:17 +05:30
Mihidum
73af18ba20
Add azure/gpt-5.2-chat (#18361)
Add missing azure gpt-5.2-chat to match existing naming schemes
2025-12-25 11:09:05 +05:30
Matt Cowger
9f4a4fd271
Add docs as follow on to #18362 (#18388) 2025-12-25 11:08:47 +05:30
Ishaan Jaff
1123cfa928
[Feat] AI Gateway - Add support for Platform Fee / Margins (#18427)
* init cost_margin_config

* feat: add cost margin

* init types

* LITELLM_SETTINGS_SAFE_DB_OVERRIDES

* feat _apply_cost_margin

* ui endpoint

* ui provider margins

* add margin

* refactored ui

* test cost margins

* refactored ui

* provider discounts

* add cost_breakdown to spendLogs

* add CostBreakdownViewer

* fix cost breakdown

* docs fix

* doc margins

* docs margins
2025-12-25 11:07:27 +05:30
yuneng-jiang
75028ca2c2
Merge pull request #18425 from BerriAI/litellm_ui_model_provider
[Infra] Add Model Page Model Provider Select Performance
2025-12-24 17:53:10 -08:00
yuneng-jiang
463154e737
Merge pull request #18424 from BerriAI/litellm_ui_keys_columns
[Feature] Allow Column Resizing on Keys Table
2025-12-24 17:52:54 -08:00
yuneng-jiang
442acc220f Add Model Page Select perf 2025-12-24 17:42:20 -08:00
yuneng-jiang
edd910f442 adding test 2025-12-24 17:17:26 -08:00
yuneng-jiang
85827aa217 Resize columns working 2025-12-24 17:12:36 -08:00
yuneng-jiang
2e24d34959
Merge pull request #18420 from BerriAI/litellm_ui_model_sorting
[Fix] UI - Model Page Sorting Sorts Entire Set
2025-12-24 14:58:37 -08:00
yuneng-jiang
e0a06a7cfa
Merge pull request #18417 from BerriAI/litellm_org_admin_permissions
[Fix] Allow Organization Admins to View Their Organization Info
2025-12-24 14:56:46 -08:00
yuneng-jiang
4ce135727f Fixing build 2025-12-24 14:51:00 -08:00
yuneng-jiang
5d1fe86cda Tests 2025-12-24 14:33:27 -08:00
yuneng-jiang
c1dcc81fd5 Model Page sort by all models 2025-12-24 14:06:59 -08:00
yuneng-jiang
5a20edf0fa Allow org admins to view org info 2025-12-24 11:43:36 -08:00
yuneng-jiang
dc4982a8f3 Base commit 2025-12-24 10:48:53 -08:00
yuneng-jiang
24a6d897f2
Merge pull request #18416 from BerriAI/litellm_ui_refactor_2
[Refactor] useQuery Hooks Now Depend on useAuthorized
2025-12-24 10:32:13 -08:00
yuneng-jiang
1ac6204756 fixing build 2025-12-24 10:19:57 -08:00
yuneng-jiang
825503fa1b Refactor react-query hooks 2025-12-24 10:13:55 -08:00
yuneng-jiang
8a3d4967ed
Merge pull request #18404 from BerriAI/litellm_ui_use_team
[Feature] Resolve Team Alias in Organization Info View + Deprecate useTeams
2025-12-24 09:27:12 -08:00