Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test: update expected token display to match consistent 1000 divisor
Leo fu42624f5bf378
diff --git a/tests/cli/test_restart_command.py b/tests/cli/test_restart_command.pyindex 8b079d4e7..697d5fc17 100644--- a/tests/cli/test_restart_command.py+++ b/tests/cli/test_restart_command.py@@ -148,7 +148,7 @@ class TestRestartCommand:assert response is not Noneassert "Model: test-model" in response.contentassert "Tokens: 0 in / 0 out" in response.content- assert "Context: 20k/64k (31%)" in response.content+ assert "Context: 20k/65k (31%)" in response.contentassert "Session: 3 messages" in response.contentassert "Uptime: 2m 5s" in response.contentassert response.metadata == {"render_as": "text"}@@ -186,7 +186,7 @@ class TestRestartCommand:assert response is not Noneassert "Tokens: 1200 in / 34 out" in response.content- assert "Context: 1k/64k (1%)" in response.content+ assert "Context: 1k/65k (1%)" in response.content@pytest.mark.asyncioasync def test_process_direct_preserves_render_metadata(self):