Commit Graph

29382 Commits

Author SHA1 Message Date
xuan07t2
f3f1acd338 fix(vertex_ai): separate Tool objects for each tool type per API spec
Fix Vertex AI API error: "tools[0].tool_type: one_of 'tool_type' has more
than one initialized field"

The Vertex AI API requires each Tool object to contain exactly one type
of tool (e.g., FunctionDeclaration, GoogleSearch, CodeExecution).
Previously, all tool types were combined into a single Tool object,
causing INVALID_ARGUMENT errors when using multiple tools simultaneously.

This change creates separate Tool objects for each tool type:
- Function declarations in one Tool
- Google Search in its own Tool
- Code Execution in its own Tool
- etc.

Ref: https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1beta1/Tool

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 08:48:35 +07:00
yuneng-jiang
c7734cb8bd
Merge pull request #18501 from BerriAI/litellm_ui_e2e_login_session
[Infra] UI - E2E Tests Setup
2025-12-29 20:57:41 -08:00
yuneng-jiang
46ce68619c attempt fix 3 2025-12-29 20:49:24 -08:00
yuneng-jiang
554830d2e2 reverting 2025-12-29 20:33:46 -08:00
yuneng-jiang
a4341c6e5b test removing python install step 2025-12-29 19:56:44 -08:00
yuneng-jiang
52a1dbfee8
Merge pull request #18506 from BerriAI/litellm_ui_keys_react_query
[Infra] UI - Virtual Keys Table to use React Query
2025-12-29 19:51:31 -08:00
yuneng-jiang
c79db9121d Fixing build 2025-12-29 19:42:38 -08:00
yuneng-jiang
2dad030462 updating tests 2025-12-29 19:41:28 -08:00
yuneng-jiang
a08dae7da0 keys table refactor pt2 2025-12-29 19:27:52 -08:00
yuneng-jiang
566eb35747
Merge pull request #18504 from BerriAI/litellm_ui_keys_table_refactor
[Refactor] UI - Keys Table
2025-12-29 17:15:57 -08:00
yuneng-jiang
5cdd88bc5c fixing build 2025-12-29 17:06:16 -08:00
yuneng-jiang
e0b96c4265 refactor keys table 2025-12-29 17:03:11 -08:00
yuneng-jiang
710ae2f1ce
Merge pull request #18503 from BerriAI/litellm_ui_key_list
[Refactor] Key Table to Use Optional "expand" query
2025-12-29 15:32:00 -08:00
yuneng-jiang
b21b156e55 adding tests 2025-12-29 15:21:19 -08:00
yuneng-jiang
b69c1dcee7 Key List table uses expand from /key/list 2025-12-29 15:09:33 -08:00
yuneng-jiang
ff4e16b306
Merge pull request #18502 from BerriAI/litellm_key_list_user_object
[Feature] Add Optional Query Param "expand" to /key/list
2025-12-29 15:02:38 -08:00
yuneng-jiang
03cee68588 Ruff check 2025-12-29 14:27:55 -08:00
YutaSaito
dce3d0db09
Merge pull request #18290 from emerzon/fix/mcp-rest-auth-ssrf
Require auth for MCP connection test endpoint
2025-12-30 07:22:31 +09:00
YutaSaito
b9e8b38cd3
Merge branch 'main' into fix/mcp-rest-auth-ssrf 2025-12-30 07:22:01 +09:00
yuneng-jiang
de551889f3 Add optional field expand to /key/list 2025-12-29 14:20:04 -08:00
yuneng-jiang
f8d90939fe Attempt fix 2025-12-29 13:40:36 -08:00
yuneng-jiang
ec29fe1472 remove google dns for e2e 2025-12-29 13:27:00 -08:00
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
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
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
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