Display cat behaviors file path on error

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman 2025-06-11 16:09:20 -07:00
parent a26794afd2
commit 7dd9bf9c5c
No known key found for this signature in database
GPG key ID: 0CF84597DD87A9FF

View file

@ -35,7 +35,7 @@ def load_cat_behaviors_for_prompt(filepath: str) -> str:
return "\n".join(behaviors_description)
except FileNotFoundError:
return (
"\n\nWarning: Cat behaviors file not found at '{filepath}'. "
f"\n\nWarning: Cat behaviors file not found at '{filepath}'. "
"You'll have to rely on your basic cat instincts (meow, hiss, purr, hairball, silence)."
)
except json.JSONDecodeError as e: