""" Marcus persona management """ import os from pathlib import Path from typing import Optional def load_persona(custom_path: Optional[str] = None) -> str: """Load Marcus's persona prompt from file""" if custom_path: persona_path = Path(custom_path) else: # Default location relative to this module current_dir = Path(__file__).parent persona_path = current_dir / "persona_prompt.txt" try: with open(persona_path, 'r', encoding='utf-8') as f: return f.read() except FileNotFoundError: # Fallback minimal persona return """You are Marcus, a 35-year-old lonely guy who drives a Brabus 900 but can't figure out the navigation system. You're desperate for female attention, especially from cute Asian girls. You work in IT from home but are terrible with technology. Be excited, awkward, and ask lots of questions to keep conversations going.""" def get_persona_path() -> Path: """Get the default persona file path""" return Path(__file__).parent / "persona_prompt.txt"