litellm/tests/proxy_unit_tests
Krish Dholakia 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
..
example_config_yaml Revert "Revert "(feat) Allow using include to include external YAML files in a config.yaml (#6922)"" 2024-11-27 16:08:59 -08:00
test_configs
test_model_response_typing
adroit-crow-413218-bc47f303efc9.json vertex testing use pathrise-convert-1606954137718 2025-01-05 14:00:17 -08:00
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
conftest copy.py
conftest.py
data_map.txt
eagle.wav
gettysburg.wav
large_text.py
messages_with_counts.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
test_aproxy_startup.py (Security fix) - Upgrade to fastapi==0.115.5 (#7447) 2024-12-28 17:08:19 -08:00
test_audit_logs_proxy.py (docs) add docstrings for all /key, /user, /team, /customer endpoints (#6804) 2024-11-18 19:44:06 -08:00
test_auth_checks.py handle failed db connections 2025-03-25 23:14:44 -07:00
test_banned_keyword_list.py
test_custom_callback_input.py
test_db_schema_changes.py test: initial test to enforce all functions in user_api_key_auth.py h… (#7797) 2025-01-15 21:52:45 -08:00
test_db_schema_migration.py install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
test_deployed_proxy_keygen.py
test_e2e_pod_lock_manager.py test pod lock manager 2025-03-28 13:31:45 -07:00
test_jwt.py feat(handle_jwt.py): support multiple jwt url's 2025-03-06 23:05:54 -08:00
test_key_generate_dynamodb.py
test_key_generate_prisma.py test: skip flaky test - failing due to db timeouts - unrelated to test 2025-03-27 20:34:26 -07:00
test_proxy_config_unit_test.py (fix) - proxy reliability, ensure duplicate callbacks are not added to proxy (#8067) 2025-01-28 21:01:56 -08:00
test_proxy_custom_auth.py
test_proxy_custom_logger.py build: merge commit 1b15568af7f8923a014e6e49f5ec09e5abf5f981 2025-02-17 21:56:00 -08:00
test_proxy_encrypt_decrypt.py
test_proxy_exception_mapping.py
test_proxy_gunicorn.py
test_proxy_pass_user_config.py
test_proxy_reject_logging.py
test_proxy_routes.py [Bug fix]: Proxy Auth Layer - Allow Azure Realtime routes as llm_api_routes (#7684) 2025-01-10 20:38:06 -08:00
test_proxy_server_caching.py
test_proxy_server_keys.py
test_proxy_server_langfuse.py (Security fix) - Upgrade to fastapi==0.115.5 (#7447) 2024-12-28 17:08:19 -08:00
test_proxy_server_spend.py
test_proxy_server.py Litellm stable UI 02 17 2025 p1 (#8599) 2025-02-17 17:55:05 -08:00
test_proxy_setting_guardrails.py
test_proxy_token_counter.py Litellm dev 12 12 2024 (#7203) 2024-12-13 08:54:03 -08:00
test_proxy_utils.py fix typo on codebase 2025-03-27 22:36:00 -07:00
test_unit_test_max_model_budget_limiter.py Support budget/rate limit tiers for keys (#7429) 2024-12-26 19:05:27 -08:00
test_unit_test_proxy_hooks.py use DBSpendUpdateWriter class for managing DB spend updates 2025-03-27 16:31:23 -07:00
test_update_spend.py fix typo on codebase 2025-03-27 22:36:00 -07:00
test_user_api_key_auth.py test: fix test 2025-03-21 22:02:39 -07:00
vertex_key.json ci/cd update vertex acct 2025-01-05 13:43:32 -08:00