diff --git a/cli.py b/cli.py index b7203e9063..2aa181797a 100755 --- a/cli.py +++ b/cli.py @@ -1431,8 +1431,8 @@ class HermesCLI: # These tags are model-generated (system prompt tells the model # to use them) and get stripped from final_response. We must # suppress them during streaming too. - _OPEN_TAGS = ("", "", "") - _CLOSE_TAGS = ("", "", "") + _OPEN_TAGS = ("", "", "", "") + _CLOSE_TAGS = ("", "", "", "") # Append to a pre-filter buffer first self._stream_prefilt = getattr(self, "_stream_prefilt", "") + text