The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(config): prompt attachments read the profile config through the backend seam
Ben Barclay5bf1bba9fb28
diff --git a/tui_gateway/prompt_attachments.py b/tui_gateway/prompt_attachments.pyindex 710a03536f1..d8b8e4e7b0e 100644--- a/tui_gateway/prompt_attachments.py+++ b/tui_gateway/prompt_attachments.py@@ -132,9 +132,10 @@ def _profile_attachments_storage(profile_home) -> str:import contextlib as _contextlibhome = Path(profile_home) if profile_home else _hermes_homewith _contextlib.suppress(Exception):+ from hermes_cli.config_backend import config_existsfrom hermes_cli.config_effective import load_user_config_effectivecfg_path = home / "config.yaml"- if cfg_path.exists():+ if config_exists(cfg_path):attachments_cfg = load_user_config_effective(cfg_path).get("attachments")if isinstance(attachments_cfg, dict):return str(attachments_cfg.get("storage") or "").strip().lower()