Spaces:
Paused

Farhan Beg commited on
Commit
70042cf
Β·
1 Parent(s): 69b7182

fix(config): strip deprecated TERMINAL_CWD from .env on boot

Browse files

Hermes v0.17.0 deprecated TERMINAL_CWD in favor of config.yaml's
terminal.cwd and warns on every gateway start:
'Deprecated .env settings detected: TERMINAL_CWD=/opt/data/workspace'

config.yaml already has terminal.cwd set correctly (line 295), so the
.env entry is pure cruft. It's excluded from HF Dataset backup
(hermes-sync.py EXCLUDED_TOP_LEVEL), but the dashboard Env tab / older
Hermes versions can re-add it at runtime. Strip it on every boot right
after config.yaml is written so the warning stays gone.

1 file changed +17
start.sh+17