Update agent.py
This commit is contained in:
@@ -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