mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Display cat behaviors file path on error
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
parent
a26794afd2
commit
7dd9bf9c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue