From 0d11ce13df834ed8aac34391f0a0c759e248feaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A0=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Fri, 5 Jun 2026 13:03:04 +0000 Subject: [PATCH] Delete obsolete cleanup.py --- cleanup.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 cleanup.py diff --git a/cleanup.py b/cleanup.py deleted file mode 100644 index 677d148..0000000 --- a/cleanup.py +++ /dev/null @@ -1,35 +0,0 @@ -import os -import pathlib - -def cleanup(): - """Delete legacy files from the repository root.""" - legacy_files = [ - "agent.py", - "chunker.py", - "cli.py", - "config.py", - "init_loader.py", - "qdrant_store.py", - "rag_tools.py", - "tools.py", - "vector_store.py", - "__init__.py", - ] - for filename in legacy_files: - try: - os.remove(filename) - print(f"Deleted {filename}") - except FileNotFoundError: - pass - except Exception as e: - print(f"Could not delete {filename}: {e}") - # Optionally delete this cleanup script itself - try: - script_path = pathlib.Path(__file__).resolve() - script_path.unlink() - print("Deleted cleanup.py") - except Exception as e: - print(f"Could not delete cleanup.py: {e}") - -if __name__ == "__main__": - cleanup() \ No newline at end of file