Update agent.py
This commit is contained in:
1 parent
a9fc5317c1
commit
f9713c61ab
1 file changed
+1
-17
@@ -1,17 +1 @@
|
|||||||
"""Legacy agent module.
|
# Legacy file removed
|
||||||
|
|
||||||
This file is kept only for backward compatibility. It re‑exports 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"]
|
|
||||||
Reference in new issue
Block a user