INNER CODE UNIT · Python

root

existence-master/Sentient · src/server/main/app.py:181

async def root():
    return {"message": "Sentient Main Server Operational (Qwen Agent Integrated)."}

@app.get("/health", tags=["General"])
async def health():
    return {
        "status": "healthy",
        "timestamp": datetime.datetime.now(timezone.utc).isoformat(),
        "services": {
            "database": "connected" if mongo_manager.client else "disconnected",
            "stt": "loaded" if stt_model_instance else "not_loaded",
            "tts": "loaded" if tts_model_instance else "not_loaded",
            "llm": "qwen_agent_on_demand"
        }
    }

END_TIME = time.time()
logger.info(f"Main Server app.py loaded in {END_TIME - START_TIME:.2f} seconds.")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…