litellm-proxy-extras 0.2.6__py3-none-any.whl → 0.2.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of litellm-proxy-extras might be problematic. Click here for more details.
- litellm_proxy_extras/migrations/20250707212517_add_mcp_info_column_mcp_servers/migration.sql +3 -0
- litellm_proxy_extras/migrations/20250707230009_add_mcp_namespaced_tool_name/migration.sql +42 -0
- litellm_proxy_extras/migrations/20250711220620_add_stdio_mcp/migration.sql +10 -0
- litellm_proxy_extras/migrations/20250718125714_add_litellm_params_to_vector_stores/migration.sql +3 -0
- litellm_proxy_extras/schema.prisma +25 -10
- {litellm_proxy_extras-0.2.6.dist-info → litellm_proxy_extras-0.2.11.dist-info}/METADATA +1 -1
- {litellm_proxy_extras-0.2.6.dist-info → litellm_proxy_extras-0.2.11.dist-info}/RECORD +9 -5
- {litellm_proxy_extras-0.2.6.dist-info → litellm_proxy_extras-0.2.11.dist-info}/LICENSE +0 -0
- {litellm_proxy_extras-0.2.6.dist-info → litellm_proxy_extras-0.2.11.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
-- DropIndex
|
|
2
|
+
DROP INDEX "LiteLLM_DailyTagSpend_tag_date_api_key_model_custom_llm_pro_key";
|
|
3
|
+
|
|
4
|
+
-- DropIndex
|
|
5
|
+
DROP INDEX "LiteLLM_DailyTeamSpend_team_id_date_api_key_model_custom_ll_key";
|
|
6
|
+
|
|
7
|
+
-- DropIndex
|
|
8
|
+
DROP INDEX "LiteLLM_DailyUserSpend_user_id_date_api_key_model_custom_ll_key";
|
|
9
|
+
|
|
10
|
+
-- AlterTable
|
|
11
|
+
ALTER TABLE "LiteLLM_DailyTagSpend" ADD COLUMN "mcp_namespaced_tool_name" TEXT,
|
|
12
|
+
ALTER COLUMN "model" DROP NOT NULL;
|
|
13
|
+
|
|
14
|
+
-- AlterTable
|
|
15
|
+
ALTER TABLE "LiteLLM_DailyTeamSpend" ADD COLUMN "mcp_namespaced_tool_name" TEXT,
|
|
16
|
+
ALTER COLUMN "model" DROP NOT NULL;
|
|
17
|
+
|
|
18
|
+
-- AlterTable
|
|
19
|
+
ALTER TABLE "LiteLLM_DailyUserSpend" ADD COLUMN "mcp_namespaced_tool_name" TEXT,
|
|
20
|
+
ALTER COLUMN "model" DROP NOT NULL;
|
|
21
|
+
|
|
22
|
+
-- AlterTable
|
|
23
|
+
ALTER TABLE "LiteLLM_SpendLogs" ADD COLUMN "mcp_namespaced_tool_name" TEXT;
|
|
24
|
+
|
|
25
|
+
-- CreateIndex
|
|
26
|
+
CREATE INDEX "LiteLLM_DailyTagSpend_mcp_namespaced_tool_name_idx" ON "LiteLLM_DailyTagSpend"("mcp_namespaced_tool_name");
|
|
27
|
+
|
|
28
|
+
-- CreateIndex
|
|
29
|
+
CREATE UNIQUE INDEX "LiteLLM_DailyTagSpend_tag_date_api_key_model_custom_llm_pro_key" ON "LiteLLM_DailyTagSpend"("tag", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name");
|
|
30
|
+
|
|
31
|
+
-- CreateIndex
|
|
32
|
+
CREATE INDEX "LiteLLM_DailyTeamSpend_mcp_namespaced_tool_name_idx" ON "LiteLLM_DailyTeamSpend"("mcp_namespaced_tool_name");
|
|
33
|
+
|
|
34
|
+
-- CreateIndex
|
|
35
|
+
CREATE UNIQUE INDEX "LiteLLM_DailyTeamSpend_team_id_date_api_key_model_custom_ll_key" ON "LiteLLM_DailyTeamSpend"("team_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name");
|
|
36
|
+
|
|
37
|
+
-- CreateIndex
|
|
38
|
+
CREATE INDEX "LiteLLM_DailyUserSpend_mcp_namespaced_tool_name_idx" ON "LiteLLM_DailyUserSpend"("mcp_namespaced_tool_name");
|
|
39
|
+
|
|
40
|
+
-- CreateIndex
|
|
41
|
+
CREATE UNIQUE INDEX "LiteLLM_DailyUserSpend_user_id_date_api_key_model_custom_ll_key" ON "LiteLLM_DailyUserSpend"("user_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name");
|
|
42
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN "args" TEXT[] DEFAULT ARRAY[]::TEXT[],
|
|
3
|
+
ADD COLUMN "command" TEXT,
|
|
4
|
+
ADD COLUMN "env" JSONB DEFAULT '{}',
|
|
5
|
+
ADD COLUMN "mcp_access_groups" TEXT[],
|
|
6
|
+
ALTER COLUMN "url" DROP NOT NULL;
|
|
7
|
+
|
|
8
|
+
-- AlterTable
|
|
9
|
+
ALTER TABLE "LiteLLM_ObjectPermissionTable" ADD COLUMN "mcp_access_groups" TEXT[] DEFAULT ARRAY[]::TEXT[];
|
|
10
|
+
|
|
@@ -155,6 +155,7 @@ model LiteLLM_UserTable {
|
|
|
155
155
|
model LiteLLM_ObjectPermissionTable {
|
|
156
156
|
object_permission_id String @id @default(uuid())
|
|
157
157
|
mcp_servers String[] @default([])
|
|
158
|
+
mcp_access_groups String[] @default([])
|
|
158
159
|
vector_stores String[] @default([])
|
|
159
160
|
teams LiteLLM_TeamTable[]
|
|
160
161
|
verification_tokens LiteLLM_VerificationToken[]
|
|
@@ -167,7 +168,7 @@ model LiteLLM_MCPServerTable {
|
|
|
167
168
|
server_id String @id @default(uuid())
|
|
168
169
|
alias String?
|
|
169
170
|
description String?
|
|
170
|
-
url String
|
|
171
|
+
url String?
|
|
171
172
|
transport String @default("sse")
|
|
172
173
|
spec_version String @default("2025-03-26")
|
|
173
174
|
auth_type String?
|
|
@@ -175,6 +176,12 @@ model LiteLLM_MCPServerTable {
|
|
|
175
176
|
created_by String?
|
|
176
177
|
updated_at DateTime? @default(now()) @updatedAt @map("updated_at")
|
|
177
178
|
updated_by String?
|
|
179
|
+
mcp_info Json? @default("{}")
|
|
180
|
+
mcp_access_groups String[]
|
|
181
|
+
// Stdio-specific fields
|
|
182
|
+
command String?
|
|
183
|
+
args String[] @default([])
|
|
184
|
+
env Json? @default("{}")
|
|
178
185
|
}
|
|
179
186
|
|
|
180
187
|
// Generate Tokens for Proxy
|
|
@@ -261,6 +268,7 @@ model LiteLLM_SpendLogs {
|
|
|
261
268
|
response Json? @default("{}")
|
|
262
269
|
session_id String?
|
|
263
270
|
status String?
|
|
271
|
+
mcp_namespaced_tool_name String?
|
|
264
272
|
proxy_server_request Json? @default("{}")
|
|
265
273
|
@@index([startTime])
|
|
266
274
|
@@index([end_user])
|
|
@@ -359,9 +367,10 @@ model LiteLLM_DailyUserSpend {
|
|
|
359
367
|
user_id String?
|
|
360
368
|
date String
|
|
361
369
|
api_key String
|
|
362
|
-
model String
|
|
370
|
+
model String?
|
|
363
371
|
model_group String?
|
|
364
|
-
custom_llm_provider String?
|
|
372
|
+
custom_llm_provider String?
|
|
373
|
+
mcp_namespaced_tool_name String?
|
|
365
374
|
prompt_tokens BigInt @default(0)
|
|
366
375
|
completion_tokens BigInt @default(0)
|
|
367
376
|
cache_read_input_tokens BigInt @default(0)
|
|
@@ -373,11 +382,12 @@ model LiteLLM_DailyUserSpend {
|
|
|
373
382
|
created_at DateTime @default(now())
|
|
374
383
|
updated_at DateTime @updatedAt
|
|
375
384
|
|
|
376
|
-
@@unique([user_id, date, api_key, model, custom_llm_provider])
|
|
385
|
+
@@unique([user_id, date, api_key, model, custom_llm_provider, mcp_namespaced_tool_name])
|
|
377
386
|
@@index([date])
|
|
378
387
|
@@index([user_id])
|
|
379
388
|
@@index([api_key])
|
|
380
389
|
@@index([model])
|
|
390
|
+
@@index([mcp_namespaced_tool_name])
|
|
381
391
|
}
|
|
382
392
|
|
|
383
393
|
// Track daily team spend metrics per model and key
|
|
@@ -386,9 +396,10 @@ model LiteLLM_DailyTeamSpend {
|
|
|
386
396
|
team_id String?
|
|
387
397
|
date String
|
|
388
398
|
api_key String
|
|
389
|
-
model String
|
|
399
|
+
model String?
|
|
390
400
|
model_group String?
|
|
391
|
-
custom_llm_provider String?
|
|
401
|
+
custom_llm_provider String?
|
|
402
|
+
mcp_namespaced_tool_name String?
|
|
392
403
|
prompt_tokens BigInt @default(0)
|
|
393
404
|
completion_tokens BigInt @default(0)
|
|
394
405
|
cache_read_input_tokens BigInt @default(0)
|
|
@@ -400,11 +411,12 @@ model LiteLLM_DailyTeamSpend {
|
|
|
400
411
|
created_at DateTime @default(now())
|
|
401
412
|
updated_at DateTime @updatedAt
|
|
402
413
|
|
|
403
|
-
@@unique([team_id, date, api_key, model, custom_llm_provider])
|
|
414
|
+
@@unique([team_id, date, api_key, model, custom_llm_provider, mcp_namespaced_tool_name])
|
|
404
415
|
@@index([date])
|
|
405
416
|
@@index([team_id])
|
|
406
417
|
@@index([api_key])
|
|
407
418
|
@@index([model])
|
|
419
|
+
@@index([mcp_namespaced_tool_name])
|
|
408
420
|
}
|
|
409
421
|
|
|
410
422
|
// Track daily team spend metrics per model and key
|
|
@@ -413,9 +425,10 @@ model LiteLLM_DailyTagSpend {
|
|
|
413
425
|
tag String?
|
|
414
426
|
date String
|
|
415
427
|
api_key String
|
|
416
|
-
model String
|
|
428
|
+
model String?
|
|
417
429
|
model_group String?
|
|
418
|
-
custom_llm_provider String?
|
|
430
|
+
custom_llm_provider String?
|
|
431
|
+
mcp_namespaced_tool_name String?
|
|
419
432
|
prompt_tokens BigInt @default(0)
|
|
420
433
|
completion_tokens BigInt @default(0)
|
|
421
434
|
cache_read_input_tokens BigInt @default(0)
|
|
@@ -427,11 +440,12 @@ model LiteLLM_DailyTagSpend {
|
|
|
427
440
|
created_at DateTime @default(now())
|
|
428
441
|
updated_at DateTime @updatedAt
|
|
429
442
|
|
|
430
|
-
@@unique([tag, date, api_key, model, custom_llm_provider])
|
|
443
|
+
@@unique([tag, date, api_key, model, custom_llm_provider, mcp_namespaced_tool_name])
|
|
431
444
|
@@index([date])
|
|
432
445
|
@@index([tag])
|
|
433
446
|
@@index([api_key])
|
|
434
447
|
@@index([model])
|
|
448
|
+
@@index([mcp_namespaced_tool_name])
|
|
435
449
|
}
|
|
436
450
|
|
|
437
451
|
|
|
@@ -488,6 +502,7 @@ model LiteLLM_ManagedVectorStoresTable {
|
|
|
488
502
|
created_at DateTime @default(now())
|
|
489
503
|
updated_at DateTime @updatedAt
|
|
490
504
|
litellm_credential_name String?
|
|
505
|
+
litellm_params Json?
|
|
491
506
|
}
|
|
492
507
|
|
|
493
508
|
// Guardrails table for storing guardrail configurations
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: litellm-proxy-extras
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.11
|
|
4
4
|
Summary: Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package.
|
|
5
5
|
Author: BerriAI
|
|
6
6
|
Requires-Python: >=3.8, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*
|
|
@@ -27,10 +27,14 @@ litellm_proxy_extras/migrations/20250603210143_cascade_budget_changes/migration.
|
|
|
27
27
|
litellm_proxy_extras/migrations/20250618225828_add_health_check_table/migration.sql,sha256=FpLvgnxHKp3Jb-USx-EWOGeVCXDpSznGBloqlWAm9bg,980
|
|
28
28
|
litellm_proxy_extras/migrations/20250625145206_cascade_budget_and_loosen_managed_file_json/migration.sql,sha256=AjRZvl6dlMp9YRosTy0Iaa6ZqMXAydFY7FlzOp-T09I,429
|
|
29
29
|
litellm_proxy_extras/migrations/20250625213625_add_status_to_managed_object_table/migration.sql,sha256=XcFDSGnTIOue1laLzJL062Mv6mI2bu05KCOgrzvWQK8,86
|
|
30
|
+
litellm_proxy_extras/migrations/20250707212517_add_mcp_info_column_mcp_servers/migration.sql,sha256=2r7drloJuEDy-x9_fsQXB613YJ7gg6yIsL5MhFEv-Nk,98
|
|
31
|
+
litellm_proxy_extras/migrations/20250707230009_add_mcp_namespaced_tool_name/migration.sql,sha256=L973Q5PV5pFcpuZzyOzo6aFNK02EZK-KAHfcyjtPAIU,1854
|
|
32
|
+
litellm_proxy_extras/migrations/20250711220620_add_stdio_mcp/migration.sql,sha256=t3telBGnxzo8kXQYnyR69vgxcPYf9ysoWt1ySRHnJgE,381
|
|
33
|
+
litellm_proxy_extras/migrations/20250718125714_add_litellm_params_to_vector_stores/migration.sql,sha256=yZfez4-HKbZeRQs4E6QhrMA7wuyrBQrYzTrW9S1HwcY,101
|
|
30
34
|
litellm_proxy_extras/migrations/migration_lock.toml,sha256=HbF6jQUaoTYRBzZ1LF4fi37ZK26o6AMRL7viSXBHwhA,24
|
|
31
|
-
litellm_proxy_extras/schema.prisma,sha256=
|
|
35
|
+
litellm_proxy_extras/schema.prisma,sha256=sKIAhiHqvCFkEre8iHTaQY61MKE4SyMjnzJKZBhccU0,20718
|
|
32
36
|
litellm_proxy_extras/utils.py,sha256=QImDkrfX_NGCp0tJ4T9IZpmXyzVZqey4jnVVEO0Hcrs,15050
|
|
33
|
-
litellm_proxy_extras-0.2.
|
|
34
|
-
litellm_proxy_extras-0.2.
|
|
35
|
-
litellm_proxy_extras-0.2.
|
|
36
|
-
litellm_proxy_extras-0.2.
|
|
37
|
+
litellm_proxy_extras-0.2.11.dist-info/LICENSE,sha256=sXDWv46INd01fgEWgdsCj01R4vsOqJIFj1bgH7ObgnM,1419
|
|
38
|
+
litellm_proxy_extras-0.2.11.dist-info/METADATA,sha256=bTt-shIFFCjyOXTK5G8EusYBhuan6xPIfPvdi5X2DYU,1267
|
|
39
|
+
litellm_proxy_extras-0.2.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
40
|
+
litellm_proxy_extras-0.2.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|