mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-05 17:06:54 +00:00
dd0e7dcca8
Verify that spend_logs_metadata is correctly merged into combined_metadata and flows through to Prometheus custom labels. Tests cover: basic extraction, precedence when keys overlap, all three metadata sources combined, and None handling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.