Spaces:
Paused

miracle / scratch /debug_prompt.py
dushyantsingh0
fix: resolve typescript build errors in internal portal navigation
b3ebb38
Raw History Blame Contribute Delete
655 Bytes
import sys
import os
# Set output encoding to UTF-8
if sys.platform == "win32":
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
# Add the project root to sys.path
sys.path.append(os.getcwd())
try:
from agents.prompts import get_prompt
print("--- RESPONDER PROMPT ---")
prompt = get_prompt("responder")
print(prompt)
print("--- END ---")
# Check for input_pattern specifically
if "input_pattern" in prompt:
print("FOUND 'input_pattern' in prompt!")
else:
print("Could NOT find 'input_pattern' in prompt.")
except Exception as e:
print(f"Error: {e}")