mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-28 05:12:26 +00:00
* fix(chat): wire SystemPromptBuilder so persona files load in jarvis chat (fixes #458) * fix(chat): make `--persona none` actually disable persona files This PR exposes `--persona none`, but SystemPromptBuilder._load_file read empty paths as "." (Path("") -> ".") and raised IsADirectoryError, so the documented opt-out crashed. Guard empty path_str so the "none" opt-out (which _resolve_persona maps to empty file paths) cleanly injects no persona. Adds an end-to-end regression test (building with persona "none" must not raise). Also merges current main (branch was stale). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Jon Saad-Falcon <jonsaadfalcon@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>