hermes-agent/tests/tui_gateway
Brooklyn Nicholson fd9b692d33 fix(tui): tolerate null top-level sections in config.yaml
YAML parses bare keys like `agent:` or `display:` as None. `dict.get(key, {})`
returns that None instead of the default (defaults only fire on missing keys),
so every `cfg.get("agent", {}).get(...)` chain in tui_gateway/server.py
crashed agent init with `'NoneType' object has no attribute 'get'`.

Guard all 21 sites with `(cfg.get(X) or {})`. Regression test covers the
null-section init path reported on Twitter against the new TUI.
2026-04-24 12:43:09 -05:00
..
__init__.py feat: add tests and update mds 2026-04-08 19:31:25 -05:00
test_make_agent_provider.py fix(tui): tolerate null top-level sections in config.yaml 2026-04-24 12:43:09 -05:00
test_protocol.py fix(tui-gateway): dispatch slow RPC handlers on a thread pool (#12546) 2026-04-19 07:47:15 -05:00
test_render.py feat: add tests and update mds 2026-04-08 19:31:25 -05:00