import asyncio import sys import os # Ensure app is in path sys.path.append(os.getcwd()) from app.services.prayer import prayer_service from app.services.discernment import discernment_service async def verify(): print("--- Verifying Prayer Service ---") prayer = await prayer_service.compose(topic="healing for a friend", emotion="anxious") print(f"\n[Prayer Output]:\n{prayer}\n") print("-" * 20) print("--- Verifying Discernment Service ---") guidance = await discernment_service.guide(situation="Should I move to a new city?", emotion="uncertain") print(f"\n[Discernment Output]:\n{guidance}\n") if __name__ == "__main__": asyncio.run(verify())