Friday-Subconscious / backend /test_agent.py
Paritosh Upadhyay
Neural Core: Cloud Anchor
5196bf2
import sys
import logging
logging.basicConfig(level=logging.INFO)
try:
from app.services.tools.registry import get_all_tools_schema
tools = get_all_tools_schema()
print(f"Loaded {len(tools)} tools successfully.")
from app.core.database import init_db
init_db()
print("Database initialized successfully.")
from app.services.memory import init_memory
init_memory()
print("Memory initialized successfully.")
print("ALL OK")
except Exception as e:
print(f"Error: {e}")
sys.exit(1)