fix(tools): validate arguments with jsonschema without coercion (#6648)

Co-authored-by: xiong-wei1 <2318942410@qq.com>
This commit is contained in:
chengyongruandxiong-wei1 authored and GitHub committed 2026-11-13 13:32:12 +08:00
1 parent 25ed91ffeb
commit 8cce73465b
27 files changed
+689 -614

No files matched your search

+6
View File
@@ -48,6 +48,10 @@ dependencies = [
"setproctitle>=1.3.7,<2.0.0; sys_platform != 'win32'",
"questionary>=2.1.1,<3.0.0",
"mcp>=1.26.0,<2.0.0",
# 4.21 fixes recursive enum equality for booleans versus 0/1.
"jsonschema>=4.21.0,<5.0.0",
"referencing>=0.30.0,<1.0.0",
"regex>=2024.11.6",
"json-repair>=0.57.0,<1.0.0",
"chardet>=3.0.2,<6.0.0",
"openai>=2.8.0",
@@ -108,6 +112,8 @@ dev = [
"virtualenv>=20.35.4,<21.0.0",
"ruff>=0.1.0",
"basedpyright>=1.39.0,<2.0.0",
"types-jsonschema>=4.20.0,<5.0.0",
"types-regex>=2024.11.6",
"setproctitle>=1.3.7,<2.0.0",
"pymupdf>=1.25.0",
"pypdf>=6.21.3,<7.0.0",