from ai_planner import get_planner import json print("๐Ÿงช Testing AI Planner directly...") planner = get_planner() prompt = "Create a simple navigation bar with Home and Contact" try: workspace = planner.generate_blocks(prompt) print("โœ… SUCCESS!") print(json.dumps(workspace, indent=2)) except Exception as e: print(f"โŒ FAILED: {e}") # Raw response is often printed by ai_planner if it fails, but let's be sure