mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-05 06:22:12 +00:00
fix: test_get_request_tags_from_metadata_and_litellm_metadata
This commit is contained in:
@@ -4800,7 +4800,7 @@ class StandardLoggingPayloadSetup:
|
||||
"""
|
||||
Extract additional header tags for spend tracking based on config.
|
||||
"""
|
||||
extra_headers: List[str] = litellm.extra_spend_tag_headers or []
|
||||
extra_headers: List[str] = getattr(litellm, "extra_spend_tag_headers", None) or []
|
||||
if not extra_headers:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user