forked from phoenix/litellm-mirror
add tags to metadata
This commit is contained in:
parent
fa26d3f96f
commit
d9c051adff
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue