mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
add tags to metadata
This commit is contained in:
parent
ae8a65dc54
commit
5aa7430d80
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,
|
CommonProxyErrors.not_premium_user.value,
|
||||||
)
|
)
|
||||||
llm_router.enable_tag_filtering = False
|
llm_router.enable_tag_filtering = False
|
||||||
|
else:
|
||||||
|
if "tags" in data:
|
||||||
|
data[_metadata_variable_name]["tags"] = data["tags"]
|
||||||
|
|
||||||
### TEAM-SPECIFIC PARAMS ###
|
### TEAM-SPECIFIC PARAMS ###
|
||||||
if user_api_key_dict.team_id is not None:
|
if user_api_key_dict.team_id is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue