Skip to content

The agent that grows with you

fix(config): route _SECRET-suffixed keys to .env

Baophan00750ef49c0772
diff --git a/hermes_cli/config.py b/hermes_cli/config.py
index 34ad8ce0271..14c64481ff2 100644
--- a/hermes_cli/config.py
+++ b/hermes_cli/config.py
@@ -1159,7 +1159,7 @@ def _is_env_config_key(key: str) -> bool:
]
return (
key_upper in api_keys
- or key_upper.endswith(('_API_KEY', '_TOKEN'))
+ or key_upper.endswith(('_API_KEY', '_TOKEN', '_SECRET'))
or key_upper.startswith('TERMINAL_SSH')
)