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:
bingokon
2023-04-18 00:01:58 +01:00
63 changed files with 520 additions and 324 deletions

View File

@@ -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: