Files
task-6a02e23da6fe2e4ac16acf65/tools.py
T
2026-06-05 11:28:53 +00:00

16 lines
412 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 tools module.
This file reexports the tools from :mod:`src.tools` and then removes
itself to avoid namespace clashes with the new package layout.
"""
from src.tools import search_knowledge_base, add_to_knowledge_base # noqa: F401
# Remove the legacy file after import
import os
try:
os.remove(__file__)
except Exception:
pass
__all__ = ["search_knowledge_base", "add_to_knowledge_base"]