Make the cfg.debug to cfg.debug_mode consistent across files

This commit is contained in:
kinance
2023-04-11 23:01:49 +09:00
parent d7b747600d
commit e0cb648858
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:
if cfg.debug_mode:
print("------------ JSON FIX ATTEMPT ---------------")
print(f"Original JSON: {json_str}")
print("-----------")