Julio Quinteros Pro
3dd58b42ce
fix(tests): skip more CI tests requiring external DB/Redis connections
...
Mark additional tests that fail due to unavailable Prisma DB or Redis
in CI with @pytest.mark.skip.
test_key_generate_prisma.py (Prisma DB):
- test_call_with_valid_model
- test_call_with_valid_model_using_all_models
- test_call_with_user_over_budget
- test_call_with_user_over_budget_stream
- test_call_with_proxy_over_budget
- test_call_with_proxy_over_budget_stream
- test_call_with_key_over_budget
- test_call_with_key_over_budget_no_cache
- test_call_with_key_over_budget_stream
- test_create_update_team
test_e2e_pod_lock_manager.py (Redis):
- test_pod_lock_acquisition_when_no_active_lock
- test_pod_lock_acquisition_after_completion
- test_pod_lock_acquisition_after_expiry
- test_pod_lock_release
- test_concurrent_lock_acquisition
- test_lock_acquisition_with_expired_ttl
- test_release_expired_lock
- test_e2e_size_of_redis_buffer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-20 11:49:38 -03:00
Alexsander Hamir
eaa04cd8ce
fix: use fastuuid helper ( #14903 )
...
* fix: use fastuuid helper across the codebase
First batch of changes, simple drop in replacement.
* second batch of changes
* fixed: script mistake on helper file
2025-09-25 15:47:01 -07:00
Ishaan Jaff
0c19414b36
[ ⚡ ️ Python SDK import] - reduce python sdk import time by .3s ( #12140 )
...
* use 1 file for KeyManagementSystem
* move key management settings
* fix import locs
* test_proxy_types_not_imported
* test the import loc
* fix import item
* fix imports
* fix import loc
* fix imports
2025-06-28 14:57:10 -07:00
Krrish Dholakia
40a4e97d8e
test: update test
2025-05-27 21:15:22 -07:00
Ishaan Jaff
702b5fec22
[Feat] Add /image/edits on LiteLLM ( #11123 )
...
* feat: add image edits on litellm router
* feat: add image edits endpoint
* fix: use pure async for image edits
* fix: base_process_llm_request
* fix: get_image_content_type
* feat: add image edits endpoint
* add image edits on UI
* test: image edits support
* fix: linting errors
* fix: linting errors
* test fix img gen
2025-05-24 10:18:01 -07:00
Ishaan Jaff
299f8f18a0
text fix redis cache
2025-05-03 16:28:43 -07:00
Ishaan Jaff
f984089b01
[Reliability fix] Redis transaction buffer - ensure all redis queues are periodically flushed ( #10393 )
...
* test_e2e_size_of_redis_buffer
* fix store_in_memory_spend_updates_in_redis
* _commit_spend_updates_to_db_with_redis
* daily_tag_spend_update_transactions
* pip install fakeredis==2.28.1
2025-04-28 21:36:54 -07:00
Ishaan Jaff
94a553dbb2
[Feat] Emit Key, Team Budget metrics on a cron job schedule ( #9528 )
...
* _initialize_remaining_budget_metrics
* initialize_budget_metrics_cron_job
* initialize_budget_metrics_cron_job
* initialize_budget_metrics_cron_job
* test_initialize_budget_metrics_cron_job
* LITELLM_PROXY_ADMIN_NAME
* fix code qa checks
* test_initialize_budget_metrics_cron_job
* test_initialize_budget_metrics_cron_job
* pod lock manager allow dynamic cron job ID
* fix pod lock manager
* require cronjobid for PodLockManager
* fix DB_SPEND_UPDATE_JOB_NAME acquire / release lock
* add comment on prometheus logger
* add debug statements for emitting key, team budget metrics
* test_pod_lock_manager.py
* test_initialize_budget_metrics_cron_job
* initialize_budget_metrics_cron_job
* initialize_remaining_budget_metrics
* remove outdated test
2025-04-10 16:59:14 -07:00
Ishaan Jaff
a64631edfb
test pod lock manager
2025-04-02 14:39:40 -07:00
Ishaan Jaff
8dc792139e
refactor file structure
2025-04-01 18:30:48 -07:00
Ishaan Jaff
1eaf847f8a
test pod lock manager
2025-03-28 13:31:45 -07:00