feat: show active task count in /status output

This commit is contained in:
aiguozhi123456
2026-04-15 01:49:42 +08:00
committed by Xubin Ren
parent b60e8dc0ba
commit 634f4b45c1
5 changed files with 24 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ def test_status_shows_cache_hit_rate():
)
assert "60% cached" in content
assert "2000 in / 300 out" in content
assert "Tasks: 0 active" in content
def test_status_no_cache_info():
@@ -30,6 +31,7 @@ def test_status_no_cache_info():
)
assert "cached" not in content.lower()
assert "2000 in / 300 out" in content
assert "Tasks: 0 active" in content
def test_status_zero_cached_tokens():