Skip to content

The agent that grows with you

refactor(state): pack one remaining signature

Teknium76f5a58cfcf9
diff --git a/hermes_state_messages.py b/hermes_state_messages.py
index d37e62f0fbd..21dd8eafd27 100644
--- a/hermes_state_messages.py
+++ b/hermes_state_messages.py
@@ -1005,8 +1005,7 @@ class SessionMessagesMixin:
@staticmethod
def _find_duplicate_replayed_user_message(
- messages: List[Dict[str, Any]], msg: Dict[str, Any]
- ) -> Optional[Tuple[int, bool]]:
+ messages: List[Dict[str, Any]], msg: Dict[str, Any]) -> Optional[Tuple[int, bool]]:
"""Adjacent replay duplicate ``(index, prefer_current)`` or None. Rotation may persist
the current ask in the parent and again inside a composite child carrier: carriers
compare by canonical live payload, ordinary users by exact string. The child carrier