litellm-proxy-extras 0.2.15__py3-none-any.whl → 0.2.19__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/20250507161526_add_mcp_table_to_db/migration.sql +0 -10
- litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sql +10 -0
- litellm_proxy_extras/migrations/20250918083359_drop_spec_version_column_from_mcp_table/migration.sql +8 -0
- litellm_proxy_extras/schema.prisma +0 -1
- litellm_proxy_extras/utils.py +1 -2
- {litellm_proxy_extras-0.2.15.dist-info → litellm_proxy_extras-0.2.19.dist-info}/METADATA +5 -2
- {litellm_proxy_extras-0.2.15.dist-info → litellm_proxy_extras-0.2.19.dist-info}/RECORD +9 -7
- {litellm_proxy_extras-0.2.15.dist-info → litellm_proxy_extras-0.2.19.dist-info}/WHEEL +1 -1
- {litellm_proxy_extras-0.2.15.dist-info → litellm_proxy_extras-0.2.19.dist-info/licenses}/LICENSE +0 -0
|
@@ -15,13 +15,3 @@ CREATE TABLE "LiteLLM_MCPServerTable" (
|
|
|
15
15
|
CONSTRAINT "LiteLLM_MCPServerTable_pkey" PRIMARY KEY ("server_id")
|
|
16
16
|
);
|
|
17
17
|
|
|
18
|
-
-- Migration for existing tables: rename alias to server_name if upgrading
|
|
19
|
-
DO $$
|
|
20
|
-
BEGIN
|
|
21
|
-
IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'LiteLLM_MCPServerTable' AND column_name = 'alias') THEN
|
|
22
|
-
ALTER TABLE "LiteLLM_MCPServerTable" RENAME COLUMN "alias" TO "server_name";
|
|
23
|
-
END IF;
|
|
24
|
-
END $$;
|
|
25
|
-
-- Migration for existing tables: add alias column if upgrading
|
|
26
|
-
ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "alias" TEXT;
|
|
27
|
-
|
litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sql
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
-- Migration for existing tables: rename alias to server_name if upgrading
|
|
2
|
+
DO $$
|
|
3
|
+
BEGIN
|
|
4
|
+
IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'LiteLLM_MCPServerTable' AND column_name = 'alias') THEN
|
|
5
|
+
ALTER TABLE "LiteLLM_MCPServerTable" RENAME COLUMN "alias" TO "server_name";
|
|
6
|
+
END IF;
|
|
7
|
+
END $$;
|
|
8
|
+
|
|
9
|
+
-- Migration for existing tables: add alias column if upgrading
|
|
10
|
+
ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "alias" TEXT;
|
|
@@ -171,7 +171,6 @@ model LiteLLM_MCPServerTable {
|
|
|
171
171
|
description String?
|
|
172
172
|
url String?
|
|
173
173
|
transport String @default("sse")
|
|
174
|
-
spec_version String @default("2025-03-26")
|
|
175
174
|
auth_type String?
|
|
176
175
|
created_at DateTime? @default(now()) @map("created_at")
|
|
177
176
|
created_by String?
|
litellm_proxy_extras/utils.py
CHANGED
|
@@ -243,7 +243,6 @@ class ProxyExtrasDBManager:
|
|
|
243
243
|
bool: True if setup was successful, False otherwise
|
|
244
244
|
"""
|
|
245
245
|
schema_path = ProxyExtrasDBManager._get_prisma_dir() + "/schema.prisma"
|
|
246
|
-
use_migrate = str_to_bool(os.getenv("USE_PRISMA_MIGRATE")) or use_migrate
|
|
247
246
|
for attempt in range(4):
|
|
248
247
|
original_dir = os.getcwd()
|
|
249
248
|
migrations_dir = ProxyExtrasDBManager._get_prisma_dir()
|
|
@@ -299,7 +298,7 @@ class ProxyExtrasDBManager:
|
|
|
299
298
|
and "database schema is not empty" in e.stderr
|
|
300
299
|
):
|
|
301
300
|
logger.info(
|
|
302
|
-
"Database schema is not empty, creating baseline migration"
|
|
301
|
+
"Database schema is not empty, creating baseline migration. In read-only file system, please set an environment variable `LITELLM_MIGRATION_DIR` to a writable directory to enable migrations. Learn more - https://docs.litellm.ai/docs/proxy/prod#read-only-file-system"
|
|
303
302
|
)
|
|
304
303
|
ProxyExtrasDBManager._create_baseline_migration(schema_path)
|
|
305
304
|
logger.info(
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: litellm-proxy-extras
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.19
|
|
4
4
|
Summary: Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package.
|
|
5
|
+
License-File: LICENSE
|
|
5
6
|
Author: BerriAI
|
|
6
7
|
Requires-Python: >=3.8, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*
|
|
7
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -9,6 +10,8 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
9
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
15
|
Project-URL: Documentation, https://docs.litellm.ai
|
|
13
16
|
Project-URL: Homepage, https://litellm.ai
|
|
14
17
|
Project-URL: Repository, https://github.com/BerriAI/litellm
|
|
@@ -14,7 +14,7 @@ litellm_proxy_extras/migrations/20250416151339_drop_tag_uniqueness_requirement/m
|
|
|
14
14
|
litellm_proxy_extras/migrations/20250416185146_add_allowed_routes_litellm_verification_token/migration.sql,sha256=XGyDLGakqBt30xuGS-RT5tWhk_Ki7teenxpvKDkIo2E,119
|
|
15
15
|
litellm_proxy_extras/migrations/20250425182129_add_session_id/migration.sql,sha256=dSjU5QavHMM60siy6f_69DZpFCA4lUfWDL0AUEPEt2g,139
|
|
16
16
|
litellm_proxy_extras/migrations/20250430193429_add_managed_vector_stores/migration.sql,sha256=SmXedKWYWwYAZjg-usw-905nXxyU9SOws9teFATezUA,479
|
|
17
|
-
litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql,sha256=
|
|
17
|
+
litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql,sha256=C_0iU6F-XUST0BekRSrFGMW69_pwBLSS7Pu5HvGNJ7c,511
|
|
18
18
|
litellm_proxy_extras/migrations/20250507161527_add_health_check_fields_to_mcp_servers/migration.sql,sha256=IzXvP90W4R1vkrsP3WbARJdGLEFauW1e2czTmZaDYOM,285
|
|
19
19
|
litellm_proxy_extras/migrations/20250507184818_add_mcp_key_team_permission_mgmt/migration.sql,sha256=G2NONS9XAMDdkH-0tpaPimK4ezs94hkwteRK1m7oA1Y,1672
|
|
20
20
|
litellm_proxy_extras/migrations/20250508072103_add_status_to_spendlogs/migration.sql,sha256=V4mIhoi3n8sUzV8_YY9AA_wkgvk65m5ZOAU3_DtoUo8,77
|
|
@@ -33,10 +33,12 @@ litellm_proxy_extras/migrations/20250707230009_add_mcp_namespaced_tool_name/migr
|
|
|
33
33
|
litellm_proxy_extras/migrations/20250711220620_add_stdio_mcp/migration.sql,sha256=t3telBGnxzo8kXQYnyR69vgxcPYf9ysoWt1ySRHnJgE,381
|
|
34
34
|
litellm_proxy_extras/migrations/20250718125714_add_litellm_params_to_vector_stores/migration.sql,sha256=yZfez4-HKbZeRQs4E6QhrMA7wuyrBQrYzTrW9S1HwcY,101
|
|
35
35
|
litellm_proxy_extras/migrations/20250802162330_prompt_table/migration.sql,sha256=rssp_rCzwY5veFUJeGSOoGOvck3IZ9sL86RuHzQJ-s0,452
|
|
36
|
+
litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sql,sha256=Bge3bWO96jFhVzdjHX5sD7SzCLnrrYMq_6ilzJFAQ6w,465
|
|
37
|
+
litellm_proxy_extras/migrations/20250918083359_drop_spec_version_column_from_mcp_table/migration.sql,sha256=7Q2E0OSK4wZXi_GeNR9qF-SbQh1OHvJG-A-02nQxBgU,240
|
|
36
38
|
litellm_proxy_extras/migrations/migration_lock.toml,sha256=HbF6jQUaoTYRBzZ1LF4fi37ZK26o6AMRL7viSXBHwhA,24
|
|
37
|
-
litellm_proxy_extras/schema.prisma,sha256=
|
|
38
|
-
litellm_proxy_extras/utils.py,sha256=
|
|
39
|
-
litellm_proxy_extras-0.2.
|
|
40
|
-
litellm_proxy_extras-0.2.
|
|
41
|
-
litellm_proxy_extras-0.2.
|
|
42
|
-
litellm_proxy_extras-0.2.
|
|
39
|
+
litellm_proxy_extras/schema.prisma,sha256=rH7fYi45dOYCqxhcSp_y6euq-EIhLVBQ9VX0GqJor18,21076
|
|
40
|
+
litellm_proxy_extras/utils.py,sha256=zcUGsFa7lI9pbC8Sj6GQitAYULuKq89vXBGxm7R87rg,15175
|
|
41
|
+
litellm_proxy_extras-0.2.19.dist-info/METADATA,sha256=6oIXM-mT8mdzO2eTjoEiHpaDaJHyQwIA18z8zZr-3qo,1391
|
|
42
|
+
litellm_proxy_extras-0.2.19.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
43
|
+
litellm_proxy_extras-0.2.19.dist-info/licenses/LICENSE,sha256=sXDWv46INd01fgEWgdsCj01R4vsOqJIFj1bgH7ObgnM,1419
|
|
44
|
+
litellm_proxy_extras-0.2.19.dist-info/RECORD,,
|
{litellm_proxy_extras-0.2.15.dist-info → litellm_proxy_extras-0.2.19.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|