fix: ssrf, add internal ip filter when parse tool schema (#29548)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
This commit is contained in:
zyssyz123
2025-12-15 16:28:25 +08:00
committed by GitHub
parent 2b3c55d95a
commit 2bf44057e9
3 changed files with 18 additions and 2 deletions

View File

@@ -29,6 +29,10 @@ class ToolApiSchemaError(ValueError):
pass
class ToolSSRFError(ValueError):
pass
class ToolCredentialPolicyViolationError(ValueError):
pass