Changed occurances of 'cfg.debug_mode' to 'cfg.debug'

This commit is contained in:
cryptidv
2023-04-10 14:22:11 +01:00
parent 643ca9d084
commit 026361aa3a
2 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ def fix_json(json_str: str, schema: str) -> str:
result_string = call_ai_function(
function_string, args, description_string, model=cfg.fast_llm_model
)
if cfg.debug_mode:
if cfg.debug:
print("------------ JSON FIX ATTEMPT ---------------")
print(f"Original JSON: {json_str}")
print("-----------")