litellm-proxy-extras 0.1.18__tar.gz → 0.1.19__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 (28) hide show
  1. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/PKG-INFO +2 -3
  2. litellm_proxy_extras-0.1.19/litellm_proxy_extras/migrations/20250510142544_add_session_id_index_spend_logs/migration.sql +3 -0
  3. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/schema.prisma +22 -21
  4. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/pyproject.toml +2 -2
  5. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/LICENSE +0 -0
  6. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/README.md +0 -0
  7. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/__init__.py +0 -0
  8. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/_logging.py +0 -0
  9. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250326162113_baseline/migration.sql +0 -0
  10. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250326171002_add_daily_user_table/migration.sql +0 -0
  11. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250327180120_add_api_requests_to_daily_user_table/migration.sql +0 -0
  12. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250329084805_new_cron_job_table/migration.sql +0 -0
  13. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250331215456_track_success_and_failed_requests_daily_agg_table/migration.sql +0 -0
  14. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250411215431_add_managed_file_table/migration.sql +0 -0
  15. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250412081753_team_member_permissions/migration.sql +0 -0
  16. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250415151647_add_cache_read_write_tokens_daily_spend_transactions/migration.sql +0 -0
  17. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250415191926_add_daily_team_table/migration.sql +0 -0
  18. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416115320_add_tag_table_to_db/migration.sql +0 -0
  19. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416151339_drop_tag_uniqueness_requirement/migration.sql +0 -0
  20. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416185146_add_allowed_routes_litellm_verification_token/migration.sql +0 -0
  21. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250425182129_add_session_id/migration.sql +0 -0
  22. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250430193429_add_managed_vector_stores/migration.sql +0 -0
  23. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql +0 -0
  24. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250507184818_add_mcp_key_team_permission_mgmt/migration.sql +0 -0
  25. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250508072103_add_status_to_spendlogs/migration.sql +0 -0
  26. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250509141545_use_big_int_for_daily_spend_tables/migration.sql +0 -0
  27. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/migration_lock.toml +0 -0
  28. {litellm_proxy_extras-0.1.18 → litellm_proxy_extras-0.1.19}/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.18
3
+ Version: 0.1.19
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,3 @@
1
+ -- CreateIndex
2
+ CREATE INDEX "LiteLLM_SpendLogs_session_id_idx" ON "LiteLLM_SpendLogs"("session_id");
3
+
@@ -264,6 +264,7 @@ model LiteLLM_SpendLogs {
264
264
  proxy_server_request Json? @default("{}")
265
265
  @@index([startTime])
266
266
  @@index([end_user])
267
+ @@index([session_id])
267
268
  }
268
269
 
269
270
  // View spend, model, api_key per request
@@ -361,14 +362,14 @@ model LiteLLM_DailyUserSpend {
361
362
  model String
362
363
  model_group String?
363
364
  custom_llm_provider String?
364
- prompt_tokens Int @default(0)
365
- completion_tokens Int @default(0)
366
- cache_read_input_tokens Int @default(0)
367
- cache_creation_input_tokens Int @default(0)
365
+ prompt_tokens BigInt @default(0)
366
+ completion_tokens BigInt @default(0)
367
+ cache_read_input_tokens BigInt @default(0)
368
+ cache_creation_input_tokens BigInt @default(0)
368
369
  spend Float @default(0.0)
369
- api_requests Int @default(0)
370
- successful_requests Int @default(0)
371
- failed_requests Int @default(0)
370
+ api_requests BigInt @default(0)
371
+ successful_requests BigInt @default(0)
372
+ failed_requests BigInt @default(0)
372
373
  created_at DateTime @default(now())
373
374
  updated_at DateTime @updatedAt
374
375
 
@@ -388,14 +389,14 @@ model LiteLLM_DailyTeamSpend {
388
389
  model String
389
390
  model_group String?
390
391
  custom_llm_provider String?
391
- prompt_tokens Int @default(0)
392
- completion_tokens Int @default(0)
393
- cache_read_input_tokens Int @default(0)
394
- cache_creation_input_tokens Int @default(0)
392
+ prompt_tokens BigInt @default(0)
393
+ completion_tokens BigInt @default(0)
394
+ cache_read_input_tokens BigInt @default(0)
395
+ cache_creation_input_tokens BigInt @default(0)
395
396
  spend Float @default(0.0)
396
- api_requests Int @default(0)
397
- successful_requests Int @default(0)
398
- failed_requests Int @default(0)
397
+ api_requests BigInt @default(0)
398
+ successful_requests BigInt @default(0)
399
+ failed_requests BigInt @default(0)
399
400
  created_at DateTime @default(now())
400
401
  updated_at DateTime @updatedAt
401
402
 
@@ -415,14 +416,14 @@ model LiteLLM_DailyTagSpend {
415
416
  model String
416
417
  model_group String?
417
418
  custom_llm_provider String?
418
- prompt_tokens Int @default(0)
419
- completion_tokens Int @default(0)
420
- cache_read_input_tokens Int @default(0)
421
- cache_creation_input_tokens Int @default(0)
419
+ prompt_tokens BigInt @default(0)
420
+ completion_tokens BigInt @default(0)
421
+ cache_read_input_tokens BigInt @default(0)
422
+ cache_creation_input_tokens BigInt @default(0)
422
423
  spend Float @default(0.0)
423
- api_requests Int @default(0)
424
- successful_requests Int @default(0)
425
- failed_requests Int @default(0)
424
+ api_requests BigInt @default(0)
425
+ successful_requests BigInt @default(0)
426
+ failed_requests BigInt @default(0)
426
427
  created_at DateTime @default(now())
427
428
  updated_at DateTime @updatedAt
428
429
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "litellm-proxy-extras"
3
- version = "0.1.18"
3
+ version = "0.1.19"
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.18"
25
+ version = "0.1.19"
26
26
  version_files = [
27
27
  "pyproject.toml:version",
28
28
  "../requirements.txt:litellm-proxy-extras==",