Commit Graph
1413 Commits
Author SHA1 Message Date
Krish DholakiaandGitHub d4d3c4f697 build: bump litellm-proxy-extras version (#9771) 2025-04-05 09:02:52 -07:00
Ishaan Jaff a771d17794 add prometheus-client to dev deps 2025-04-04 22:28:45 -07:00
Krrish Dholakia 5826108c9a build: bump 2025-04-04 20:45:27 -07:00
Adrian LyjakandGitHub d640bc0a00 fix #8425, passthrough kwargs during acompletion, and unwrap extra_body for openrouter (#9747) 2025-04-03 22:19:40 -07:00
Ishaan Jaff 1cd0b73417 bump: version 1.65.2 → 1.65.3 2025-04-02 21:59:01 -07:00
Krrish Dholakia 9f78ddbaec bump: version 1.65.1 → 1.65.2 2025-04-01 19:38:51 -07:00
Krish DholakiaandGitHub 62ad84fb64 UI (new_usage.tsx): Report 'total_tokens' + report success/failure calls (#9675)
* feat(internal_user_endpoints.py): return 'total_tokens' in `/user/daily/analytics`

* test(test_internal_user_endpoints.py): add unit test to assert spend metrics and dailyspend metadata always report the same fields

* build(schema.prisma): record success + failure calls to daily user table

allows understanding why model requests might exceed provider requests (e.g. user hit rate limit error)

* fix(internal_user_endpoints.py): report success / failure requests in API

* fix(proxy/utils.py): default to success

status can be missing or none at times for successful requests

* feat(new_usage.tsx): show success/failure calls on UI

* style(new_usage.tsx): ui cleanup

* fix: fix linting error

* fix: fix linting error

* feat(litellm-proxy-extras/): add new migration files
2025-03-31 22:48:43 -07:00
Krish DholakiaandGitHub 1604f87663 install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637)
* build(README.md): initial commit adding a separate folder for additional proxy files. Meant to reduce size of core package

* build(litellm-proxy-extras/): new pip package for storing migration files

allows litellm proxy to use migration files, without adding them to core repo

* build(litellm-proxy-extras/): cleanup pyproject.toml

* build: move prisma migration files inside new proxy extras package

* build(run_migration.py): update script to write to correct folder

* build(proxy_cli.py): load in migration files from litellm-proxy-extras

Closes https://github.com/BerriAI/litellm/issues/9558

* build: add MIT license to litellm-proxy-extras

* test: update test

* fix: fix schema

* bump: version 0.1.0 → 0.1.1

* build(publish-proxy-extras.sh): add script for publishing new proxy-extras version

* build(liccheck.ini): add litellm-proxy-extras to authorized packages

* fix(litellm-proxy-extras/utils.py): move prisma migrate logic inside extra proxy pkg

easier since migrations folder already there

* build(pre-commit-config.yaml): add litellm_proxy_extras to ci tests

* docs(config_settings.md): document new env var

* build(pyproject.toml): bump relevant files when litellm-proxy-extras version changed

* build(pre-commit-config.yaml): run poetry check on litellm-proxy-extras as well
2025-03-29 15:27:09 -07:00
Krish DholakiaandGitHub 9b7ebb6a7d build(pyproject.toml): add new dev dependencies - for type checking (#9631)
* build(pyproject.toml): add new dev dependencies - for type checking

* build: reformat files to fit black

* ci: reformat to fit black

* ci(test-litellm.yml): make tests run clear

* build(pyproject.toml): add ruff

* fix: fix ruff checks

* build(mypy/): fix mypy linting errors

* fix(hashicorp_secret_manager.py): fix passing cert for tls auth

* build(mypy/): resolve all mypy errors

* test: update test

* fix: fix black formatting

* build(pre-commit-config.yaml): use poetry run black

* fix(proxy_server.py): fix linting error

* fix: fix ruff safe representation error
2025-03-29 11:02:13 -07:00
Krrish Dholakia 2a0c7e7d20 bump: version 1.65.0 → 1.65.1 2025-03-29 00:39:18 -07:00
Krish DholakiaandGitHub 0865e52db3 fix(proxy_server.py): get master key from environment, if not set in … (#9617)
* fix(proxy_server.py): get master key from environment, if not set in general settings or general settings not set at all

* test: mark flaky test

* test(test_proxy_server.py): mock prisma client

* ci: add new github workflow for testing just the mock tests

* fix: fix linting error

* ci(conftest.py): add conftest.py to isolate proxy tests

* build(pyproject.toml): add respx to dev dependencies

* build(pyproject.toml): add prisma to dev dependencies

* test: fix mock prompt management tests to use a mock anthropic key

* ci(test-litellm.yml): parallelize mock testing

make it run faster

* build(pyproject.toml): add hypercorn as dev dep

* build(pyproject.toml): separate proxy vs. core dev dependencies

make it easier for non-proxy contributors to run tests locally - e.g. no need to install hypercorn

* ci(test-litellm.yml): pin python version

* test(test_rerank.py): move test - cannot be mocked, requires aws credentials for e2e testing

* ci: add thank you message to ci

* test: add mock env var to test

* test: add autouse to tests

* test: test mock env vars for e2e tests
2025-03-28 12:32:04 -07:00
Krrish Dholakia f1fa0044cb bump: version 1.64.1 → 1.65.0 2025-03-27 12:07:17 -07:00
Ishaan Jaff 80f201ff15 bump: version 1.64.0 → 1.64.1 2025-03-24 21:21:18 -07:00
Ishaan Jaff 08a4ba1b7e Merge branch 'main' into litellm_exp_mcp_server 2025-03-24 19:03:56 -07:00
Ishaan Jaff 395e4e73d0 langchain_mcp_adapters 2025-03-24 18:59:32 -07:00
Ishaan Jaff ab1f87bb59 add "mcp==1.5.0" to optional pyproject for litellm proxy 2025-03-24 18:56:32 -07:00
Krrish Dholakia b33c56cf10 bump: version 1.63.15 → 1.64.0 2025-03-24 09:11:14 -07:00
Tyler Hutcherson 7864cd1f76 update redisvl dependency 2025-03-24 08:42:11 -04:00
Ishaan Jaff ab343f4ac7 bump: version 1.63.14 → 1.63.15 2025-03-22 19:49:10 -07:00
Ishaan Jaff 6802408057 bump gunicorn - fix security issue on gunicorn 2025-03-21 21:58:43 -07:00
Ishaan Jaff a3cd1ba82a bump: version 1.63.13 → 1.63.14 2025-03-21 21:03:55 -07:00
Ishaan Jaff 4be40ab50b bump: version 1.63.12 → 1.63.13 2025-03-21 21:03:20 -07:00
Krrish Dholakia c3ee93cd81 build(pyproject.toml): add boto3 to proxy deps on pyproject
fix issue with running unit tests
2025-03-18 09:15:45 -07:00
Krrish Dholakia 45646018f2 bump: version 1.63.11 → 1.63.12 2025-03-18 09:02:42 -07:00
Krish DholakiaandGitHub d4caaae1be Merge pull request #9274 from BerriAI/litellm_contributor_rebase_branch
Litellm contributor rebase branch
2025-03-14 21:57:49 -07:00
Ishaan Jaff cd95634b62 bump: version 1.63.10 → 1.63.11 2025-03-14 21:47:31 -07:00
Krrish Dholakia 658ae1fe80 bump: version 1.63.9 → 1.63.10 2025-03-14 18:15:15 -07:00
Ishaan Jaff fcbed43f0c bump: version 1.63.8 → 1.63.9 2025-03-13 21:47:19 -07:00
Krrish Dholakia ee6c9576d4 fix: bump websockets version on ci/cd 2025-03-13 14:38:22 -07:00
Tomer Bin 4a31b32a88 Support post-call guards for stream and non-stream responses 2025-03-13 08:53:54 +02:00
Ishaan Jaff 77c1a809f3 bump: version 1.63.7 → 1.63.8 2025-03-12 21:28:57 -07:00
Krrish Dholakia 450935b6b9 build(pyproject.toml): bump openai version for responses types 2025-03-12 15:00:35 -07:00
Krrish Dholakia 99c85e5a60 bump: version 1.63.6 → 1.63.7 2025-03-11 22:52:54 -07:00
Ishaan Jaff 6a4bb31bd8 bump: version 1.63.5 → 1.63.6 2025-03-10 21:08:03 -07:00
Krrish Dholakia 0fa3ec98ab bump: version 1.63.4 → 1.63.5 2025-03-09 20:47:51 -07:00
Krrish Dholakia a0746a6da9 bump: version 1.63.3 → 1.63.4 2025-03-06 23:14:35 -08:00
Ishaan Jaff 6dc83135ab bump: version 1.63.2 → 1.63.3 2025-03-06 21:23:25 -08:00
Ishaan Jaff 1de33f3443 bump: version 1.63.1 → 1.63.2 2025-03-06 00:44:05 -08:00
Krrish Dholakia 4b80bf0f14 bump: version 1.63.0 → 1.63.1 2025-03-05 23:41:40 -08:00
Krrish Dholakia a27129798c bump: version 1.62.4 → 1.63.0 2025-03-05 19:34:53 -08:00
Krrish Dholakia 4578e5e620 bump: version 1.62.4 → 1.62.5 2025-03-05 10:12:28 -08:00
Krrish Dholakia f89f50463c bump: version 1.62.3 → 1.62.4 2025-03-04 22:10:07 -08:00
Krrish Dholakia 87dd195b51 bump: version 1.62.2 → 1.62.3 2025-03-03 23:00:24 -08:00
Krrish Dholakia 19411fbcc7 bump: version 1.62.1 → 1.62.2 2025-03-03 14:34:48 -08:00
Krrish Dholakia fecc02dd45 bump: version 1.62.0 → 1.62.1 2025-02-28 23:12:07 -08:00
Ishaan Jaff 884beb4342 bump: version 1.61.20 → 1.62.0 2025-02-27 20:10:00 -08:00
Krrish Dholakia 9932c38b3e bump: version 1.61.19 → 1.61.20 2025-02-26 23:01:13 -08:00
Ishaan Jaff 992e78dfd8 bump: version 1.61.18 → 1.61.19 2025-02-26 21:13:47 -08:00
Ishaan Jaff 4c3d6df2f4 bump: version 1.61.17 → 1.61.18 2025-02-26 21:13:41 -08:00
Ishaan Jaff e22c7d6fa3 bump: version 1.61.16 → 1.61.17 2025-02-24 23:53:32 -08:00