mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
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
Reference in a new issue