Spaces:
Running
Running
Update app/app.py
Browse files- app/app.py +6 -6
app/app.py
CHANGED
|
@@ -32,11 +32,11 @@ from typing import Dict, Any, Optional
|
|
| 32 |
# Import app/* modules
|
| 33 |
# Config/settings for all modules below live in app/.pyfun — not in .env!
|
| 34 |
# =============================================================================
|
| 35 |
-
from . import mcp # MCP transport layer (stdio / SSE)
|
| 36 |
-
from . import providers # API provider registry (LLM, Search, Web)
|
| 37 |
-
from . import models # Model config + token/rate limits
|
| 38 |
-
from . import tools # MCP tool definitions + provider mapping
|
| 39 |
-
from . import db_sync # Internal SQLite IPC — app/* state & communication
|
| 40 |
# db_sync ≠ cloud DB! Cloud DB is Guardian-only via main.py.
|
| 41 |
|
| 42 |
# Future modules (soon uncommented when ready):
|
|
@@ -49,7 +49,7 @@ from . import db_sync # Internal SQLite IPC — app/* state & communication
|
|
| 49 |
# Loggers — one per module for clean log filtering
|
| 50 |
# =============================================================================
|
| 51 |
logger = logging.getLogger('application')
|
| 52 |
-
logger = logging.getLogger('config')
|
| 53 |
# logger_mcp = logging.getLogger('mcp')
|
| 54 |
# logger_tools = logging.getLogger('tools')
|
| 55 |
# logger_providers = logging.getLogger('providers')
|
|
|
|
| 32 |
# Import app/* modules
|
| 33 |
# Config/settings for all modules below live in app/.pyfun — not in .env!
|
| 34 |
# =============================================================================
|
| 35 |
+
#from . import mcp # MCP transport layer (stdio / SSE)
|
| 36 |
+
#from . import providers # API provider registry (LLM, Search, Web)
|
| 37 |
+
#from . import models # Model config + token/rate limits
|
| 38 |
+
#from . import tools # MCP tool definitions + provider mapping
|
| 39 |
+
#from . import db_sync # Internal SQLite IPC — app/* state & communication
|
| 40 |
# db_sync ≠ cloud DB! Cloud DB is Guardian-only via main.py.
|
| 41 |
|
| 42 |
# Future modules (soon uncommented when ready):
|
|
|
|
| 49 |
# Loggers — one per module for clean log filtering
|
| 50 |
# =============================================================================
|
| 51 |
logger = logging.getLogger('application')
|
| 52 |
+
#logger = logging.getLogger('config')
|
| 53 |
# logger_mcp = logging.getLogger('mcp')
|
| 54 |
# logger_tools = logging.getLogger('tools')
|
| 55 |
# logger_providers = logging.getLogger('providers')
|