Spaces:
Paused
Paused
File size: 655 Bytes
b3ebb38 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 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}")
|