mirror of https://github.com/kortix-ai/suna.git
21 lines
786 B
Python
21 lines
786 B
Python
from fastapi import APIRouter
|
|
from .versioning.api import router as agent_versioning_router
|
|
from .core_utils import initialize, cleanup
|
|
from .agent_runs import router as agent_runs_router
|
|
from .agent_crud import router as agent_crud_router
|
|
from .agent_tools import router as agent_tools_router
|
|
from .agent_json import router as agent_json_router
|
|
from .threads import router as threads_router
|
|
|
|
router = APIRouter()
|
|
|
|
# Include all sub-routers
|
|
router.include_router(agent_versioning_router)
|
|
router.include_router(agent_runs_router)
|
|
router.include_router(agent_crud_router)
|
|
router.include_router(agent_tools_router)
|
|
router.include_router(agent_json_router)
|
|
router.include_router(threads_router)
|
|
|
|
# Re-export the initialize and cleanup functions
|
|
__all__ = ['router', 'initialize', 'cleanup'] |