Files
Hermes Agent 0c6e1e833d fix(hermes-webui): le watchdog title-adoption ne doit pas empêcher le démarrage
core_title_adoption.start() peut lever une exception ; elle est maintenant
attrapée et loggée en warning au lieu de crasher le serveur au boot.
2026-09-27 21:19:36 -04:00

19 lines
703 B
Python

"""Hermes Web UI -- API modules.
Patched entry point (see services/hermes-webui/core_title_adoption.py in the
NixOS flake): importing the package starts the core title adoption watchdog, so
the chat sidebar shows the session title already generated by the Hermes core
instead of the raw first message. Remove this patch once the behaviour exists
upstream in the hermes-webui input.
"""
import logging as _logging
try:
from . import core_title_adoption as _core_title_adoption
_core_title_adoption.start()
except Exception: # a title helper must never break server startup
_logging.getLogger(__name__).warning(
"core title adoption watchdog failed to start", exc_info=True
)