Update agent.py

This commit is contained in:
2026-06-05 12:42:11 +00:00
parent a9fc5317c1
commit f9713c61ab
+1 -17
View File
@@ -1,17 +1 @@
"""Legacy agent module. # Legacy file removed
This file is kept only for backward compatibility. It reexports the
implementation from :mod:`src.agent` and then deletes itself to avoid
conflicts with the new package structure.
"""
import os
from src.agent import agent, run_query # noqa: F401
# Delete this legacy file after import
try:
os.remove(__file__)
except Exception:
pass
__all__ = ["agent", "run_query"]