Compare commits

...

1 Commits

Author SHA1 Message Date
user.email
26f73ed8f5 feat: add json-repair dependency for tool-call JSON recovery
All checks were successful
Lint / lint (pull_request) Successful in 8s
json-repair>=0.25.0,<1 is now a declared dependency.
The repair_and_load_json() utility in utils.py already uses this
library to salvage malformed LLM tool arguments across 10 call sites.
Without this dependency, the repair functionality silently fails
(import error -> default return), leaving the agent vulnerable
to wasted retries on JSON decode errors.

Closes #781
2026-04-25 19:06:24 -04:00

View File

@@ -22,6 +22,7 @@ dependencies = [
"pyyaml>=6.0.2,<7",
"requests>=2.33.0,<3", # CVE-2026-25645
"jinja2>=3.1.5,<4",
"json-repair>=0.25.0,<1",
"pydantic>=2.12.5,<3",
# Interactive CLI (prompt_toolkit is used directly by cli.py)
"prompt_toolkit>=3.0.52,<4",