17 lines
405 B
Python
17 lines
405 B
Python
"""Legacy agent module.
|
||
|
||
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"] |