mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(mcp): mark the request dict parameter mutable-ok with a reason
This commit is contained in:
parent
1a5bb96472
commit
fa4c60562e
1 changed files with 1 additions and 1 deletions
|
|
@ -2867,7 +2867,7 @@ def _add_guardrails_from_policies_in_metadata(
|
|||
|
||||
def add_guardrails_from_auth_metadata(
|
||||
user_api_key_dict: UserAPIKeyAuth,
|
||||
data: dict,
|
||||
data: dict, # mutable-ok: writes guardrails into the live request dict, same contract as the helpers it wraps
|
||||
metadata_variable_name: str,
|
||||
) -> None:
|
||||
"""Resolve key, team, and project guardrails (direct and via policies) onto ``data[metadata_variable_name]``."""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue