# Small helper utilities in case you want to expand the Space def sanitize_prompt(text: str) -> str: """Basic sanitization: remove non-printable chars""" return ''.join(ch for ch in text if ch.isprintable())