fix(webui): complete temporary chat mode

This commit is contained in:
chengyongru
2026-08-08 23:20:59 +08:00
committed by Xubin Ren
parent c9a6145878
commit a5bc3bfbb9
51 changed files with 1285 additions and 945 deletions
-12
View File
@@ -346,18 +346,6 @@ class TestBuildSystemPrompt:
assert "## AGENTS.md" not in result
assert "[Archived Context Summary]" not in result
def test_can_exclude_long_term_memory_without_changing_agent_identity(self, tmp_path):
builder = _builder(tmp_path)
builder.memory.write_memory("# Memory\n- private detail")
result = builder.build_system_prompt(
include_long_term_memory=False,
include_memory_recent_history=False,
)
assert "private detail" not in result
assert "workspace" in result.lower()
# ---------------------------------------------------------------------------
# build_messages