diff --git a/litellm/proxy/litellm_pre_call_utils.py b/litellm/proxy/litellm_pre_call_utils.py index e6bce5392..1014a325a 100644 --- a/litellm/proxy/litellm_pre_call_utils.py +++ b/litellm/proxy/litellm_pre_call_utils.py @@ -188,6 +188,9 @@ async def add_litellm_data_to_request( CommonProxyErrors.not_premium_user.value, ) llm_router.enable_tag_filtering = False + else: + if "tags" in data: + data[_metadata_variable_name]["tags"] = data["tags"] ### TEAM-SPECIFIC PARAMS ### if user_api_key_dict.team_id is not None: