fix timestamp issue
Browse files- app/message_processor.py +4 -0
app/message_processor.py
CHANGED
|
@@ -75,6 +75,10 @@ class MessageProcessor:
|
|
| 75 |
'timestamp': [timestamp],
|
| 76 |
'isdone': False
|
| 77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
conv = await loop.run_in_executor(None, lambda: sheets_client.log_conversation(**log_kwargs))
|
| 79 |
if not conv:
|
| 80 |
logger.error("Không thể tạo conversation mới!")
|
|
|
|
| 75 |
'timestamp': [timestamp],
|
| 76 |
'isdone': False
|
| 77 |
}
|
| 78 |
+
|
| 79 |
+
logger.info(f"[DEBUG] Message cơ bản: {log_kwargs}")
|
| 80 |
+
conv = None
|
| 81 |
+
|
| 82 |
conv = await loop.run_in_executor(None, lambda: sheets_client.log_conversation(**log_kwargs))
|
| 83 |
if not conv:
|
| 84 |
logger.error("Không thể tạo conversation mới!")
|