20 lines
629 B
Python
20 lines
629 B
Python
"""Compatibility shim — the tool registry moved to the core AI layer.
|
|
|
|
The agent runtime must not depend on this optional plugin being active,
|
|
so ``ToolRegistry`` / ``AITool`` / ``get_tool_registry`` now live in
|
|
``app.ai.tool_registry``. Import from here still works for existing
|
|
plugin code; new code should import from ``app.ai.tool_registry``
|
|
directly (or via the ai_assistant contract).
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from app.ai.tool_registry import ( # noqa: F401
|
|
AITool,
|
|
ToolHandler,
|
|
ToolRegistry,
|
|
get_tool_registry,
|
|
)
|
|
|
|
__all__ = ["AITool", "ToolHandler", "ToolRegistry", "get_tool_registry"]
|