π OpenHands: AI-Driven Development
Fix: Resolve cross-platform path splitting bug in search (#9732)
bojacklif62ed911d213
diff --git a/openhands/storage/conversation/file_conversation_store.py b/openhands/storage/conversation/file_conversation_store.pyindex 77fcc38508..87739c094a 100644--- a/openhands/storage/conversation/file_conversation_store.py+++ b/openhands/storage/conversation/file_conversation_store.py@@ -73,9 +73,9 @@ class FileConversationStore(ConversationStore):metadata_dir = self.get_conversation_metadata_dir()try:conversation_ids = [- path.split('/')[-2]+ Path(path).namefor path in self.file_store.list(metadata_dir)- if not path.startswith(f'{metadata_dir}/.')+ if not Path(path).name.startswith('.')]except FileNotFoundError:return ConversationMetadataResultSet([])