61 lines
1.5 KiB
Python
61 lines
1.5 KiB
Python
"""API 路由聚合。"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import (
|
|
admin,
|
|
audio,
|
|
auth,
|
|
avatar,
|
|
character_import,
|
|
characters,
|
|
chat,
|
|
drive,
|
|
events,
|
|
evolution,
|
|
extraction,
|
|
goals,
|
|
health,
|
|
imports,
|
|
lorebooks,
|
|
mcp,
|
|
memory,
|
|
personality,
|
|
runs,
|
|
safety,
|
|
sandbox_files,
|
|
settings,
|
|
skills,
|
|
time,
|
|
tools,
|
|
world,
|
|
)
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router)
|
|
api_router.include_router(auth.router)
|
|
api_router.include_router(characters.router)
|
|
api_router.include_router(character_import.router)
|
|
api_router.include_router(chat.router)
|
|
api_router.include_router(runs.router)
|
|
api_router.include_router(memory.router)
|
|
api_router.include_router(lorebooks.router)
|
|
api_router.include_router(personality.router)
|
|
api_router.include_router(tools.router)
|
|
api_router.include_router(skills.router)
|
|
api_router.include_router(mcp.router)
|
|
api_router.include_router(safety.router)
|
|
api_router.include_router(sandbox_files.router)
|
|
api_router.include_router(settings.router)
|
|
api_router.include_router(world.router)
|
|
api_router.include_router(imports.router)
|
|
api_router.include_router(evolution.router)
|
|
api_router.include_router(drive.router)
|
|
api_router.include_router(events.router)
|
|
api_router.include_router(extraction.router)
|
|
api_router.include_router(goals.router)
|
|
api_router.include_router(admin.router)
|
|
api_router.include_router(audio.router)
|
|
api_router.include_router(avatar.router)
|
|
api_router.include_router(time.router)
|