The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cli): a queued message with no text still shows its id in the paused notice
Tekniumac9fbdece4a5
diff --git a/hermes_cli/gateway_chat_view.py b/hermes_cli/gateway_chat_view.pyindex 9b7f62796b0..572098178d2 100644--- a/hermes_cli/gateway_chat_view.py+++ b/hermes_cli/gateway_chat_view.py@@ -64,7 +64,8 @@ def pending_lines(pending):count = "1 message is" if len(queued) == 1 else f"{len(queued)} messages are"lines.append(f" {count} waiting and will run after that:" if lostelse f" {count} waiting to run:")- lines.extend(_pending_preview(row.get("text")) or " (no text)" for row in queued)+ lines.extend(_pending_preview(row.get("text")) or f" (queued message {row['admission_id']})"+ for row in queued)return linesdiff --git a/tests/hermes_cli/test_gateway_chat_unknown.py b/tests/hermes_cli/test_gateway_chat_unknown.pyindex d881d11e845..c166ce6de27 100644--- a/tests/hermes_cli/test_gateway_chat_unknown.py+++ b/tests/hermes_cli/test_gateway_chat_unknown.py@@ -58,7 +58,7 @@ async def test_resume_displays_unknown_and_queue_then_discards_with_refreshed_geassert "unknown" in output.err.lower()assert any(queued_id in line and "queued" in line.lower() for line in output.err.splitlines())assert "waiting" in output.err.lower()- assert "without replay" in output.err.lower()+ assert "won't re-run" in output.err.lower()# stdout holds the REPL banner only: no transcript or replay is rendered before# the operator has chosen what to do with the unknown admission.assert output.out.strip().splitlines() == ["Welcome to Hermes Agent! Type your message or /help for commands."]