mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-28 03:08:58 +00:00
1393c76578
* Fix: Add prisma generate to proxy tests CI job - Add prisma generate command before pytest in litellm_mapped_tests_proxy job - Fixes 3 test failures: test_health_liveliness_endpoint, test_health_liveness_endpoint, test_health_readiness - Matches pattern used in litellm_mapped_enterprise_tests job * Fix: Add missing prompt_spec parameter to TestCustomPromptManagement - Add prompt_spec parameter to get_chat_completion_prompt() method signature - Fixes 2 test failures: test_custom_prompt_management_with_prompt_id and test_custom_prompt_management_with_prompt_id_and_prompt_variables - Aligns test mock with base class method signature from CustomPromptManagement * Fix: Handle string datetime values in OpenTelemetry timestamp conversion - Add _to_timestamp helper to handle datetime, float, and string inputs - Fixes test_handle_success_spans_and_metrics failure - Handles string datetime format from JSON deserialization (e.g. '2025-06-22 10:59:08.399523') - Applied to all timestamp conversions in OpenTelemetry metrics methods * Fix OpenTelemetry timestamp parsing to handle datetime strings with/without microseconds