Skip to content

The agent that grows with you

fix(config): register discord websocket_event_max_silence_seconds default

kshitijk4poor9d4f1782f203
diff --git a/hermes_cli/config_defaults.py b/hermes_cli/config_defaults.py
index b831bcb9ee4..bda7f54fb82 100644
--- a/hermes_cli/config_defaults.py
+++ b/hermes_cli/config_defaults.py
@@ -1454,6 +1454,9 @@ DEFAULT_CONFIG = {
"websocket_liveness_failure_threshold": 2,
"websocket_heartbeat_ack_max_age_seconds": 60,
"websocket_max_latency_seconds": 30,
+ # Dispatch-side dimension: a socket that ACKs heartbeats but delivers no events for this
+ # long is treated as deaf. 4 h absorbs a quiet server overnight; 0 disables it.
+ "websocket_event_max_silence_seconds": 14400,
# per-channel ephemeral system prompts (forum parents apply to child threads)
"channel_prompts": {},
# Opt-in DM role auth: DISCORD_ALLOWED_ROLES normally authorizes guild messages only (DMs