# chat/bootstrap.py
import sys
from pathlib import Path

# Correct path to the sibling 'agent' folder
project_root = Path(__file__).resolve().parent.parent
agent_path = project_root / "agent"

if str(agent_path) not in sys.path:
    sys.path.insert(0, str(agent_path))

# Now safe to import
from workflow_runner import run_workflow