mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-11 22:30:41 +03:00
16 lines
369 B
Python
16 lines
369 B
Python
from fastapi import APIRouter
|
|
from fastapi.responses import ORJSONResponse
|
|
|
|
from app.api.system.controllers import router as system_router
|
|
from settings.config import get_settings
|
|
|
|
settings = get_settings()
|
|
|
|
api_router = APIRouter(
|
|
prefix=settings.api_prefix,
|
|
default_response_class=ORJSONResponse,
|
|
)
|
|
|
|
|
|
api_router.include_router(system_router, tags=["system"])
|