π OpenHands: AI-Driven Development
Fix: Filtering conversations with no created at (#6414)
tofarrb19a33ccad13
diff --git a/openhands/storage/conversation/file_conversation_store.py b/openhands/storage/conversation/file_conversation_store.pyindex 249374c524..79e0492107 100644--- a/openhands/storage/conversation/file_conversation_store.py+++ b/openhands/storage/conversation/file_conversation_store.py@@ -40,6 +40,8 @@ class FileConversationStore(ConversationStore):# Temp: force int to str to stop pydandic being, well... pedanticjson_obj = json.loads(json_str)+ if 'created_at' not in json_obj:+ raise FileNotFoundError(path)if isinstance(json_obj.get('github_user_id'), int):json_obj['github_user_id'] = str(json_obj.get('github_user_id'))