ALwrity version 0.5.5
This commit is contained in:
@@ -17,6 +17,12 @@ from .enhanced_strategy_routes import router as enhanced_strategy_router
|
||||
# Import content strategy routes
|
||||
from .content_strategy.routes import router as content_strategy_router
|
||||
|
||||
# Import monitoring routes
|
||||
from ..monitoring_routes import router as monitoring_router
|
||||
|
||||
# Import quality analysis routes
|
||||
from ..quality_analysis_routes import router as quality_analysis_router
|
||||
|
||||
# Create main router
|
||||
router = APIRouter(prefix="/api/content-planning", tags=["content-planning"])
|
||||
|
||||
@@ -34,6 +40,12 @@ router.include_router(enhanced_strategy_router, prefix="/enhanced-strategies")
|
||||
# Include content strategy routes
|
||||
router.include_router(content_strategy_router)
|
||||
|
||||
# Include monitoring routes
|
||||
router.include_router(monitoring_router)
|
||||
|
||||
# Include quality analysis routes
|
||||
router.include_router(quality_analysis_router)
|
||||
|
||||
# Add health check endpoint
|
||||
@router.get("/health")
|
||||
async def content_planning_health_check():
|
||||
|
||||
@@ -94,7 +94,7 @@ async def check_ai_services_health():
|
||||
|
||||
# Test Gemini provider
|
||||
try:
|
||||
from llm_providers.gemini_provider import get_gemini_api_key
|
||||
from services.llm_providers.gemini_provider import get_gemini_api_key
|
||||
api_key = get_gemini_api_key()
|
||||
if api_key:
|
||||
health_status["services"]["gemini_provider"] = True
|
||||
|
||||
Reference in New Issue
Block a user