Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Make JSON errors more silent (#4748)

merwanehamadie5d6206a15c2
diff --git a/autogpt/json_utils/utilities.py b/autogpt/json_utils/utilities.py
index 835542a030..4fbf0c0578 100644
--- a/autogpt/json_utils/utilities.py
+++ b/autogpt/json_utils/utilities.py
@@ -52,7 +52,7 @@ def validate_json(
if errors := sorted(validator.iter_errors(json_object), key=lambda e: e.path):
for error in errors:
- logger.error(f"JSON Validation Error: {error}")
+ logger.debug(f"JSON Validation Error: {error}")
if config.debug_mode:
logger.error(