Fix SSE route dependency and align architecture docs

This commit is contained in:
ash66
2026-05-18 16:32:42 +08:00
parent 86b9ac806a
commit 3f69cad404
149 changed files with 4786 additions and 5957 deletions

View File

@@ -1,9 +1,13 @@
"""Provide utility helpers for logger."""
import logging
import sys
# Keep module behavior explicit so the backend flow stays easy to audit.
def setup_logging() -> logging.Logger:
"""配置日志"""
"""Handle setup logging."""
logger = logging.getLogger("app")
logger.setLevel(logging.INFO)