litellm/tests/proxy_unit_tests
Ishaan Jaff c33cebbed0
(bug fix) SpendLogs update DB catch all possible DB errors for retrying (#7082)
* catch DB_CONNECTION_ERROR_TYPES

* fix DB retry mechanism for SpendLog updates

* use DB_CONNECTION_ERROR_TYPES in auth checks

* fix exp back off for writing SpendLogs

* use _raise_failed_update_spend_exception to ensure errors print as NON blocking

* test_update_spend_logs_multiple_batches_with_failure
2024-12-07 15:59:53 -08: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
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
conftest copy.py
conftest.py
data_map.txt
eagle.wav
gettysburg.wav
large_text.py
log.txt
messages_with_counts.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
test_aproxy_startup.py
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_banned_keyword_list.py
test_custom_callback_input.py
test_deployed_proxy_keygen.py
test_jwt.py Litellm dev 12 06 2024 (#7067) 2024-12-06 22:44:18 -08:00
test_key_generate_dynamodb.py
test_key_generate_prisma.py (fix) adding public routes when using custom header (#7045) 2024-12-06 14:17:10 -08:00
test_proxy_config_unit_test.py 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_proxy_custom_auth.py
test_proxy_custom_logger.py
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
test_proxy_server_caching.py
test_proxy_server_cost.py
test_proxy_server_keys.py
test_proxy_server_langfuse.py
test_proxy_server_spend.py
test_proxy_server.py (fix) logging Auth errors on datadog (#6995) 2024-12-02 23:01:21 -08:00
test_proxy_setting_guardrails.py
test_proxy_token_counter.py
test_proxy_utils.py (feat) Allow enabling logging message / response for specific virtual keys (#7071) 2024-12-06 21:25:36 -08:00
test_unit_test_proxy_hooks.py (feat) Allow disabling ErrorLogs written to the DB (#6940) 2024-11-27 19:34:51 -08:00
test_update_spend.py (bug fix) SpendLogs update DB catch all possible DB errors for retrying (#7082) 2024-12-07 15:59:53 -08:00
test_user_api_key_auth.py (fix) adding public routes when using custom header (#7045) 2024-12-06 14:17:10 -08:00
vertex_key.json