Adding logging enhancement

This commit is contained in:
theobjectivedad
2023-07-14 07:26:19 -05:00
parent ef17e15483
commit 553a86b52c
14 changed files with 119 additions and 73 deletions

View File

@@ -241,7 +241,7 @@ class Conversation:
if message:
yield (role + ":", " " + message)
else:
logging.warning(f"role with empty message: {role}")
LOG.warning(f"role with empty message: {role}")
yield (role + ":", "")
def copy(self):