litellm-proxy-extras 0.1.21__tar.gz → 0.2.0__tar.gz

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.

Files changed (30) hide show
  1. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/PKG-INFO +2 -3
  2. litellm_proxy_extras-0.2.0/litellm_proxy_extras/migrations/20250522223020_managed_object_table/migration.sql +32 -0
  3. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/schema.prisma +18 -1
  4. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/pyproject.toml +2 -2
  5. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/LICENSE +0 -0
  6. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/README.md +0 -0
  7. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/__init__.py +0 -0
  8. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/_logging.py +0 -0
  9. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250326162113_baseline/migration.sql +0 -0
  10. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250326171002_add_daily_user_table/migration.sql +0 -0
  11. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250327180120_add_api_requests_to_daily_user_table/migration.sql +0 -0
  12. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250329084805_new_cron_job_table/migration.sql +0 -0
  13. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250331215456_track_success_and_failed_requests_daily_agg_table/migration.sql +0 -0
  14. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250411215431_add_managed_file_table/migration.sql +0 -0
  15. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250412081753_team_member_permissions/migration.sql +0 -0
  16. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250415151647_add_cache_read_write_tokens_daily_spend_transactions/migration.sql +0 -0
  17. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250415191926_add_daily_team_table/migration.sql +0 -0
  18. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250416115320_add_tag_table_to_db/migration.sql +0 -0
  19. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250416151339_drop_tag_uniqueness_requirement/migration.sql +0 -0
  20. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250416185146_add_allowed_routes_litellm_verification_token/migration.sql +0 -0
  21. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250425182129_add_session_id/migration.sql +0 -0
  22. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250430193429_add_managed_vector_stores/migration.sql +0 -0
  23. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql +0 -0
  24. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250507184818_add_mcp_key_team_permission_mgmt/migration.sql +0 -0
  25. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250508072103_add_status_to_spendlogs/migration.sql +0 -0
  26. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250509141545_use_big_int_for_daily_spend_tables/migration.sql +0 -0
  27. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250510142544_add_session_id_index_spend_logs/migration.sql +0 -0
  28. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/20250514142245_add_guardrails_table/migration.sql +0 -0
  29. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/migrations/migration_lock.toml +0 -0
  30. {litellm_proxy_extras-0.1.21 → litellm_proxy_extras-0.2.0}/litellm_proxy_extras/utils.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.1
2
2
  Name: litellm-proxy-extras
3
- Version: 0.1.21
3
+ Version: 0.2.0
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.*
@@ -9,7 +9,6 @@ Classifier: Programming Language :: Python :: 3.9
9
9
  Classifier: Programming Language :: Python :: 3.10
10
10
  Classifier: Programming Language :: Python :: 3.11
11
11
  Classifier: Programming Language :: Python :: 3.12
12
- Classifier: Programming Language :: Python :: 3.13
13
12
  Project-URL: Documentation, https://docs.litellm.ai
14
13
  Project-URL: Homepage, https://litellm.ai
15
14
  Project-URL: Repository, https://github.com/BerriAI/litellm
@@ -0,0 +1,32 @@
1
+ -- AlterTable
2
+ ALTER TABLE "LiteLLM_ManagedFileTable" ADD COLUMN "created_by" TEXT,
3
+ ADD COLUMN "flat_model_file_ids" TEXT[] DEFAULT ARRAY[]::TEXT[],
4
+ ADD COLUMN "updated_by" TEXT;
5
+
6
+ -- CreateTable
7
+ CREATE TABLE "LiteLLM_ManagedObjectTable" (
8
+ "id" TEXT NOT NULL,
9
+ "unified_object_id" TEXT NOT NULL,
10
+ "model_object_id" TEXT NOT NULL,
11
+ "file_object" JSONB NOT NULL,
12
+ "file_purpose" TEXT NOT NULL,
13
+ "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
14
+ "created_by" TEXT,
15
+ "updated_at" TIMESTAMP(3) NOT NULL,
16
+ "updated_by" TEXT,
17
+
18
+ CONSTRAINT "LiteLLM_ManagedObjectTable_pkey" PRIMARY KEY ("id")
19
+ );
20
+
21
+ -- CreateIndex
22
+ CREATE UNIQUE INDEX "LiteLLM_ManagedObjectTable_unified_object_id_key" ON "LiteLLM_ManagedObjectTable"("unified_object_id");
23
+
24
+ -- CreateIndex
25
+ CREATE UNIQUE INDEX "LiteLLM_ManagedObjectTable_model_object_id_key" ON "LiteLLM_ManagedObjectTable"("model_object_id");
26
+
27
+ -- CreateIndex
28
+ CREATE INDEX "LiteLLM_ManagedObjectTable_unified_object_id_idx" ON "LiteLLM_ManagedObjectTable"("unified_object_id");
29
+
30
+ -- CreateIndex
31
+ CREATE INDEX "LiteLLM_ManagedObjectTable_model_object_id_idx" ON "LiteLLM_ManagedObjectTable"("model_object_id");
32
+
@@ -453,13 +453,30 @@ model LiteLLM_ManagedFileTable {
453
453
  id String @id @default(uuid())
454
454
  unified_file_id String @unique // The base64 encoded unified file ID
455
455
  file_object Json // Stores the OpenAIFileObject
456
- model_mappings Json // Stores the mapping of model_id -> provider_file_id
456
+ model_mappings Json
457
+ flat_model_file_ids String[] @default([]) // Flat list of model file id's - for faster querying of model id -> unified file id
457
458
  created_at DateTime @default(now())
459
+ created_by String?
458
460
  updated_at DateTime @updatedAt
461
+ updated_by String?
459
462
 
460
463
  @@index([unified_file_id])
461
464
  }
462
465
 
466
+ model LiteLLM_ManagedObjectTable { // for batches or finetuning jobs which use the
467
+ id String @id @default(uuid())
468
+ unified_object_id String @unique // The base64 encoded unified file ID
469
+ model_object_id String @unique // the id returned by the backend API provider
470
+ file_object Json // Stores the OpenAIFileObject
471
+ file_purpose String // either 'batch' or 'fine-tune'
472
+ created_at DateTime @default(now())
473
+ created_by String?
474
+ updated_at DateTime @updatedAt
475
+ updated_by String?
476
+
477
+ @@index([unified_object_id])
478
+ @@index([model_object_id])
479
+ }
463
480
 
464
481
  model LiteLLM_ManagedVectorStoresTable {
465
482
  vector_store_id String @id
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "litellm-proxy-extras"
3
- version = "0.1.21"
3
+ version = "0.2.0"
4
4
  description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package."
5
5
  authors = ["BerriAI"]
6
6
  readme = "README.md"
@@ -22,7 +22,7 @@ requires = ["poetry-core"]
22
22
  build-backend = "poetry.core.masonry.api"
23
23
 
24
24
  [tool.commitizen]
25
- version = "0.1.21"
25
+ version = "0.2.0"
26
26
  version_files = [
27
27
  "pyproject.toml:version",
28
28
  "../requirements.txt:litellm-proxy-extras==",