cli/slash: remove the /clear command

This commit is contained in:
2026-10-09 21:15:48 +08:00
parent 287b838db9
commit 6807055b9f
4 changed files with 3 additions and 14 deletions
+1 -4
View File
@@ -87,11 +87,8 @@ async def state(tmp_path: Path) -> AsyncIterator[ReplState]:
await memory.close()
async def test_help_and_clear(state: ReplState) -> None:
async def test_help(state: ReplState) -> None:
assert await handle_slash(state, "/help") is True
state.agent.messages.append(AssistantChatMessage(content="x"))
assert await handle_slash(state, "/clear") is True
assert state.agent.messages == []
async def test_auto_continue_limits_installs_on_limit(tmp_path: Path) -> None: