Фиксация изменений
This commit is contained in:
10
app/main.py
10
app/main.py
@@ -1,10 +1,20 @@
|
||||
import logging
|
||||
|
||||
from fastapi import FastAPI
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
|
||||
from app.core.logging_setup import configure_logging
|
||||
from app.core.error_handlers import register_error_handlers
|
||||
from app.modules.application import ModularApplication
|
||||
|
||||
|
||||
def _configure_logging() -> None:
|
||||
configure_logging()
|
||||
|
||||
|
||||
_configure_logging()
|
||||
|
||||
|
||||
def create_app() -> FastAPI:
|
||||
app = FastAPI(title="Agent Backend MVP", version="0.1.0")
|
||||
modules = ModularApplication()
|
||||
|
||||
Reference in New Issue
Block a user