gateway: quiet Telegram operational chatter

This commit is contained in:
houenyang-momo
2026-05-27 02:41:24 -07:00
committed by Teknium
parent efa952531b
commit 60f84c6c28
7 changed files with 177 additions and 18 deletions
+3 -2
View File
@@ -784,12 +784,13 @@ async def test_run_agent_surfaces_real_interim_commentary(monkeypatch, tmp_path)
@pytest.mark.asyncio
async def test_run_agent_surfaces_interim_commentary_by_default(monkeypatch, tmp_path):
async def test_run_agent_surfaces_interim_commentary_when_globally_enabled(monkeypatch, tmp_path):
adapter, result = await _run_with_agent(
monkeypatch,
tmp_path,
CommentaryAgent,
session_id="sess-commentary-default-on",
session_id="sess-commentary-global-on",
config_data={"display": {"interim_assistant_messages": True}},
)
assert any(call["content"] == "I'll inspect the repo first." for call in adapter.sent)