self_instruct/src/data_processing/postprocess_chat.py
Avoid deeply nested control flow statements. Open
Open
if current_agent and current_message:
if current_agent != "bot":
is_bad_record = True
break
messages.append({
Avoid deeply nested control flow statements. Open
Open
if current_agent and current_message:
if current_agent != "user":
is_bad_record = True
break
messages.append({