litellm-proxy-extras 0.1.17__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.
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/PKG-INFO +2 -3
- litellm_proxy_extras-0.1.19/litellm_proxy_extras/migrations/20250509141545_use_big_int_for_daily_spend_tables/migration.sql +27 -0
- litellm_proxy_extras-0.1.19/litellm_proxy_extras/migrations/20250510142544_add_session_id_index_spend_logs/migration.sql +3 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/schema.prisma +22 -21
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/pyproject.toml +2 -2
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/LICENSE +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/README.md +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/__init__.py +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/_logging.py +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250326162113_baseline/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250326171002_add_daily_user_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250327180120_add_api_requests_to_daily_user_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250329084805_new_cron_job_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250331215456_track_success_and_failed_requests_daily_agg_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250411215431_add_managed_file_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250412081753_team_member_permissions/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250415151647_add_cache_read_write_tokens_daily_spend_transactions/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250415191926_add_daily_team_table/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416115320_add_tag_table_to_db/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416151339_drop_tag_uniqueness_requirement/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250416185146_add_allowed_routes_litellm_verification_token/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250425182129_add_session_id/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250430193429_add_managed_vector_stores/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250507184818_add_mcp_key_team_permission_mgmt/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/20250508072103_add_status_to_spendlogs/migration.sql +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/migrations/migration_lock.toml +0 -0
- {litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: litellm-proxy-extras
|
|
3
|
-
Version: 0.1.
|
|
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,27 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "LiteLLM_DailyTagSpend" ALTER COLUMN "prompt_tokens" SET DATA TYPE BIGINT,
|
|
3
|
+
ALTER COLUMN "completion_tokens" SET DATA TYPE BIGINT,
|
|
4
|
+
ALTER COLUMN "cache_read_input_tokens" SET DATA TYPE BIGINT,
|
|
5
|
+
ALTER COLUMN "cache_creation_input_tokens" SET DATA TYPE BIGINT,
|
|
6
|
+
ALTER COLUMN "api_requests" SET DATA TYPE BIGINT,
|
|
7
|
+
ALTER COLUMN "successful_requests" SET DATA TYPE BIGINT,
|
|
8
|
+
ALTER COLUMN "failed_requests" SET DATA TYPE BIGINT;
|
|
9
|
+
|
|
10
|
+
-- AlterTable
|
|
11
|
+
ALTER TABLE "LiteLLM_DailyTeamSpend" ALTER COLUMN "prompt_tokens" SET DATA TYPE BIGINT,
|
|
12
|
+
ALTER COLUMN "completion_tokens" SET DATA TYPE BIGINT,
|
|
13
|
+
ALTER COLUMN "api_requests" SET DATA TYPE BIGINT,
|
|
14
|
+
ALTER COLUMN "successful_requests" SET DATA TYPE BIGINT,
|
|
15
|
+
ALTER COLUMN "failed_requests" SET DATA TYPE BIGINT,
|
|
16
|
+
ALTER COLUMN "cache_creation_input_tokens" SET DATA TYPE BIGINT,
|
|
17
|
+
ALTER COLUMN "cache_read_input_tokens" SET DATA TYPE BIGINT;
|
|
18
|
+
|
|
19
|
+
-- AlterTable
|
|
20
|
+
ALTER TABLE "LiteLLM_DailyUserSpend" ALTER COLUMN "prompt_tokens" SET DATA TYPE BIGINT,
|
|
21
|
+
ALTER COLUMN "completion_tokens" SET DATA TYPE BIGINT,
|
|
22
|
+
ALTER COLUMN "api_requests" SET DATA TYPE BIGINT,
|
|
23
|
+
ALTER COLUMN "failed_requests" SET DATA TYPE BIGINT,
|
|
24
|
+
ALTER COLUMN "successful_requests" SET DATA TYPE BIGINT,
|
|
25
|
+
ALTER COLUMN "cache_creation_input_tokens" SET DATA TYPE BIGINT,
|
|
26
|
+
ALTER COLUMN "cache_read_input_tokens" SET DATA TYPE BIGINT;
|
|
27
|
+
|
{litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/schema.prisma
RENAMED
|
@@ -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
|
|
365
|
-
completion_tokens
|
|
366
|
-
cache_read_input_tokens
|
|
367
|
-
cache_creation_input_tokens
|
|
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
|
|
370
|
-
successful_requests
|
|
371
|
-
failed_requests
|
|
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
|
|
392
|
-
completion_tokens
|
|
393
|
-
cache_read_input_tokens
|
|
394
|
-
cache_creation_input_tokens
|
|
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
|
|
397
|
-
successful_requests
|
|
398
|
-
failed_requests
|
|
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
|
|
419
|
-
completion_tokens
|
|
420
|
-
cache_read_input_tokens
|
|
421
|
-
cache_creation_input_tokens
|
|
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
|
|
424
|
-
successful_requests
|
|
425
|
-
failed_requests
|
|
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.
|
|
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.
|
|
25
|
+
version = "0.1.19"
|
|
26
26
|
version_files = [
|
|
27
27
|
"pyproject.toml:version",
|
|
28
28
|
"../requirements.txt:litellm-proxy-extras==",
|
|
File without changes
|
|
File without changes
|
{litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/__init__.py
RENAMED
|
File without changes
|
{litellm_proxy_extras-0.1.17 → litellm_proxy_extras-0.1.19}/litellm_proxy_extras/_logging.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|