mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-24 09:24:27 +01:00
Merge remote-tracking branch 'upstream/master'
# Conflicts: # autogpt/app.py # autogpt/json_fixes/auto_fix.py # autogpt/json_fixes/bracket_termination.py # autogpt/json_fixes/master_json_fix_method.py # autogpt/json_utils/json_fix_llm.py # autogpt/json_utils/utilities.py
This commit is contained in:
@@ -42,7 +42,8 @@ def validate_json(json_object: object, schema_name: object) -> object:
|
||||
logger.error("The JSON object is invalid.")
|
||||
if CFG.debug_mode:
|
||||
logger.error(
|
||||
json.dumps(json_object, indent=4)) # Replace 'json_object' with the variable containing the JSON data
|
||||
json.dumps(json_object, indent=4)
|
||||
) # Replace 'json_object' with the variable containing the JSON data
|
||||
logger.error("The following issues were found:")
|
||||
|
||||
for error in errors:
|
||||
|
||||
Reference in New Issue
Block a user