litellm-proxy-extras 0.2.4__py3-none-any.whl → 0.2.6__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/20250618225828_add_health_check_table/migration.sql +28 -0
- litellm_proxy_extras/migrations/20250625145206_cascade_budget_and_loosen_managed_file_json/migration.sql +9 -0
- litellm_proxy_extras/migrations/20250625213625_add_status_to_managed_object_table/migration.sql +3 -0
- litellm_proxy_extras/schema.prisma +4 -4
- {litellm_proxy_extras-0.2.4.dist-info → litellm_proxy_extras-0.2.6.dist-info}/METADATA +1 -1
- {litellm_proxy_extras-0.2.4.dist-info → litellm_proxy_extras-0.2.6.dist-info}/RECORD +8 -5
- {litellm_proxy_extras-0.2.4.dist-info → litellm_proxy_extras-0.2.6.dist-info}/LICENSE +0 -0
- {litellm_proxy_extras-0.2.4.dist-info → litellm_proxy_extras-0.2.6.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
-- CreateTable
|
|
2
|
+
CREATE TABLE "LiteLLM_HealthCheckTable" (
|
|
3
|
+
"health_check_id" TEXT NOT NULL,
|
|
4
|
+
"model_name" TEXT NOT NULL,
|
|
5
|
+
"model_id" TEXT,
|
|
6
|
+
"status" TEXT NOT NULL,
|
|
7
|
+
"healthy_count" INTEGER NOT NULL DEFAULT 0,
|
|
8
|
+
"unhealthy_count" INTEGER NOT NULL DEFAULT 0,
|
|
9
|
+
"error_message" TEXT,
|
|
10
|
+
"response_time_ms" DOUBLE PRECISION,
|
|
11
|
+
"details" JSONB,
|
|
12
|
+
"checked_by" TEXT,
|
|
13
|
+
"checked_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
14
|
+
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
15
|
+
"updated_at" TIMESTAMP(3) NOT NULL,
|
|
16
|
+
|
|
17
|
+
CONSTRAINT "LiteLLM_HealthCheckTable_pkey" PRIMARY KEY ("health_check_id")
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
-- CreateIndex
|
|
21
|
+
CREATE INDEX "LiteLLM_HealthCheckTable_model_name_idx" ON "LiteLLM_HealthCheckTable"("model_name");
|
|
22
|
+
|
|
23
|
+
-- CreateIndex
|
|
24
|
+
CREATE INDEX "LiteLLM_HealthCheckTable_checked_at_idx" ON "LiteLLM_HealthCheckTable"("checked_at");
|
|
25
|
+
|
|
26
|
+
-- CreateIndex
|
|
27
|
+
CREATE INDEX "LiteLLM_HealthCheckTable_status_idx" ON "LiteLLM_HealthCheckTable"("status");
|
|
28
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
-- DropForeignKey
|
|
2
|
+
ALTER TABLE "LiteLLM_TeamMembership" DROP CONSTRAINT "LiteLLM_TeamMembership_budget_id_fkey";
|
|
3
|
+
|
|
4
|
+
-- AlterTable
|
|
5
|
+
ALTER TABLE "LiteLLM_ManagedFileTable" ALTER COLUMN "file_object" DROP NOT NULL;
|
|
6
|
+
|
|
7
|
+
-- AddForeignKey
|
|
8
|
+
ALTER TABLE "LiteLLM_TeamMembership" ADD CONSTRAINT "LiteLLM_TeamMembership_budget_id_fkey" FOREIGN KEY ("budget_id") REFERENCES "LiteLLM_BudgetTable"("budget_id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
9
|
+
|
|
@@ -156,7 +156,6 @@ model LiteLLM_ObjectPermissionTable {
|
|
|
156
156
|
object_permission_id String @id @default(uuid())
|
|
157
157
|
mcp_servers String[] @default([])
|
|
158
158
|
vector_stores String[] @default([])
|
|
159
|
-
|
|
160
159
|
teams LiteLLM_TeamTable[]
|
|
161
160
|
verification_tokens LiteLLM_VerificationToken[]
|
|
162
161
|
organizations LiteLLM_OrganizationTable[]
|
|
@@ -453,8 +452,8 @@ enum JobStatus {
|
|
|
453
452
|
model LiteLLM_ManagedFileTable {
|
|
454
453
|
id String @id @default(uuid())
|
|
455
454
|
unified_file_id String @unique // The base64 encoded unified file ID
|
|
456
|
-
file_object Json // Stores the OpenAIFileObject
|
|
457
|
-
model_mappings Json
|
|
455
|
+
file_object Json? // Stores the OpenAIFileObject
|
|
456
|
+
model_mappings Json
|
|
458
457
|
flat_model_file_ids String[] @default([]) // Flat list of model file id's - for faster querying of model id -> unified file id
|
|
459
458
|
created_at DateTime @default(now())
|
|
460
459
|
created_by String?
|
|
@@ -469,7 +468,8 @@ model LiteLLM_ManagedObjectTable { // for batches or finetuning jobs which use t
|
|
|
469
468
|
unified_object_id String @unique // The base64 encoded unified file ID
|
|
470
469
|
model_object_id String @unique // the id returned by the backend API provider
|
|
471
470
|
file_object Json // Stores the OpenAIFileObject
|
|
472
|
-
file_purpose String // either 'batch' or 'fine-tune'
|
|
471
|
+
file_purpose String // either 'batch' or 'fine-tune'
|
|
472
|
+
status String? // check if batch cost has been tracked
|
|
473
473
|
created_at DateTime @default(now())
|
|
474
474
|
created_by String?
|
|
475
475
|
updated_at DateTime @updatedAt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: litellm-proxy-extras
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
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.*
|
|
@@ -24,10 +24,13 @@ litellm_proxy_extras/migrations/20250522223020_managed_object_table/migration.sq
|
|
|
24
24
|
litellm_proxy_extras/migrations/20250526154401_allow_null_entity_id/migration.sql,sha256=O9C3_XMaHS5Dqu_DRtym89bhspAieSQiQpxK1MTQZgQ,265
|
|
25
25
|
litellm_proxy_extras/migrations/20250528185438_add_vector_stores_to_object_permissions/migration.sql,sha256=CMoueiGIy2-_7Ik7ktzGCRPfhBH43Y7nJkAvfxcYnI0,122
|
|
26
26
|
litellm_proxy_extras/migrations/20250603210143_cascade_budget_changes/migration.sql,sha256=LMUCGnK6z6Bh_mKikp5_0Xs_EnsoPMb-dTY-sJBnXVg,332
|
|
27
|
+
litellm_proxy_extras/migrations/20250618225828_add_health_check_table/migration.sql,sha256=FpLvgnxHKp3Jb-USx-EWOGeVCXDpSznGBloqlWAm9bg,980
|
|
28
|
+
litellm_proxy_extras/migrations/20250625145206_cascade_budget_and_loosen_managed_file_json/migration.sql,sha256=AjRZvl6dlMp9YRosTy0Iaa6ZqMXAydFY7FlzOp-T09I,429
|
|
29
|
+
litellm_proxy_extras/migrations/20250625213625_add_status_to_managed_object_table/migration.sql,sha256=XcFDSGnTIOue1laLzJL062Mv6mI2bu05KCOgrzvWQK8,86
|
|
27
30
|
litellm_proxy_extras/migrations/migration_lock.toml,sha256=HbF6jQUaoTYRBzZ1LF4fi37ZK26o6AMRL7viSXBHwhA,24
|
|
28
|
-
litellm_proxy_extras/schema.prisma,sha256=
|
|
31
|
+
litellm_proxy_extras/schema.prisma,sha256=PUFBg4_oAbMA1P65N7KlPYi13REbeIKru9WOr-blQkU,20109
|
|
29
32
|
litellm_proxy_extras/utils.py,sha256=QImDkrfX_NGCp0tJ4T9IZpmXyzVZqey4jnVVEO0Hcrs,15050
|
|
30
|
-
litellm_proxy_extras-0.2.
|
|
31
|
-
litellm_proxy_extras-0.2.
|
|
32
|
-
litellm_proxy_extras-0.2.
|
|
33
|
-
litellm_proxy_extras-0.2.
|
|
33
|
+
litellm_proxy_extras-0.2.6.dist-info/LICENSE,sha256=sXDWv46INd01fgEWgdsCj01R4vsOqJIFj1bgH7ObgnM,1419
|
|
34
|
+
litellm_proxy_extras-0.2.6.dist-info/METADATA,sha256=zbAEVjCvMjiH-5dhMuJfAMY_EgKtKk7GAudPqnjkCKs,1266
|
|
35
|
+
litellm_proxy_extras-0.2.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
36
|
+
litellm_proxy_extras-0.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|