Files
task-6a02e23da6fe2e4ac16acf65/agent.py
T
2026-06-05 11:27:55 +00:00

17 lines
405 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Legacy agent module.
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"]