mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(mcp): mark the listed-tools cache digest as a non-security hash
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
504870e1f9
commit
8cfbf5dc2e
1 changed files with 1 additions and 1 deletions
|
|
@ -4598,7 +4598,7 @@ class MCPServerManager:
|
|||
if not any(inputs):
|
||||
return None
|
||||
material: Final = json.dumps(inputs, sort_keys=True, separators=(",", ":"))
|
||||
return hashlib.sha256(material.encode()).hexdigest()
|
||||
return hashlib.sha256(material.encode(), usedforsecurity=False).hexdigest()
|
||||
|
||||
@staticmethod
|
||||
def _forwarded_header_values(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue