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 def verify_prompts(): print("--- Verifying Prayer Service Prompt ---") prompt = prayer_service.PROMPT.format(topic="[TOPIC]", emotion="[EMOTION]", scripture="[SCRIPTURE]") print(prompt) print("\n" + "-" * 20 + "\n") print("--- Verifying Discernment Service Prompt ---") guide_prompt = discernment_service.PROMPT.format(situation="[SITUATION]", emotion="[EMOTION]", scripture="[SCRIPTURE]") print(guide_prompt) # Simple checks assert "You do NOT tell the user" in guide_prompt assert "Does NOT make promises" in prompt print("\n[SUCCESS] Prompts contain strict negative constraints.") if __name__ == "__main__": verify_prompts()