Skip content_planning imports in podcast-only mode
This commit is contained in:
@@ -159,16 +159,16 @@ else:
|
||||
from api.research_config import router as research_config_router
|
||||
|
||||
# Import user data endpoints
|
||||
# Import content planning endpoints
|
||||
from api.content_planning.api.router import router as content_planning_router
|
||||
# Import content planning endpoints (skip in podcast-only mode)
|
||||
if not is_podcast_only_demo_mode():
|
||||
from api.content_planning.api.router import router as content_planning_router
|
||||
from api.content_planning.strategy_copilot import router as strategy_copilot_router
|
||||
else:
|
||||
content_planning_router = None
|
||||
strategy_copilot_router = None
|
||||
|
||||
from api.user_data import router as user_data_router
|
||||
|
||||
# Import user environment endpoints
|
||||
from api.user_environment import router as user_environment_router
|
||||
|
||||
# Import strategy copilot endpoints
|
||||
from api.content_planning.strategy_copilot import router as strategy_copilot_router
|
||||
|
||||
# Import database service
|
||||
from services.database import close_database
|
||||
from services.startup_health import (
|
||||
|
||||
@@ -37,6 +37,7 @@ exa-py==1.9.1
|
||||
markdown>=3.5.0
|
||||
beautifulsoup4>=4.12.0
|
||||
lxml>=4.9.0
|
||||
advertools>=0.14.0
|
||||
|
||||
# Data processing
|
||||
pandas>=2.0.0
|
||||
|
||||
Reference in New Issue
Block a user