refactor: Remove old example scripts and migration references

- Delete old example scripts (mail_reader_leann.py, google_history_reader_leann.py, etc.)
- Remove migration hints and backward compatibility
- Update tests to use new unified examples directly
- Clean up all references to old script names
- Users now only see the new unified interface
This commit is contained in:
Andy Lee
2025-07-29 12:39:36 -07:00
parent 3cde4fc7b3
commit ff1b622bdd
9 changed files with 3 additions and 1134 deletions

View File

@@ -118,15 +118,3 @@ def test_document_rag_error_handling(test_data_dir):
# Should fail with invalid LLM type
assert result.returncode != 0
assert "invalid choice" in result.stderr or "invalid_llm_type" in result.stderr
def test_main_cli_backward_compatibility():
"""Test that main_cli_example.py shows migration message."""
cmd = [sys.executable, "examples/main_cli_example.py", "--help"]
result = subprocess.run(cmd, capture_output=True, text=True, timeout=60)
# Should exit with error code and show migration message
assert result.returncode != 0
assert "This script has been replaced" in result.stdout
assert "document_rag.py" in result.stdout