fix(ci): restore dev pytest baseline (#6704)

* chore(ci): initialize dev pytest baseline repair

* fix(ci): restore utility compaction tests and CSS snapshot
This commit is contained in:
Alexandre Teixeira
2026-10-13 22:11:23 +01:00
committed by GitHub
parent 1cc56cb9d7
commit f902be18f7
6 changed files with 97 additions and 8 deletions
+8 -1
View File
@@ -311,7 +311,14 @@ class TestMaybeCompactFourthMessage:
cc.get_context_length = lambda url, model: context_length
cc.llm_call_async = _fake_summary
cc.resolve_endpoint = lambda which, owner=None: (None, None, None)
def fake_resolve_endpoint(which, **kwargs):
assert which == "utility"
assert kwargs["fallback_url"] == "http://local/v1/chat/completions"
assert kwargs["fallback_model"] == "local-model"
assert kwargs["fallback_headers"] == {}
return None, None, None
cc.resolve_endpoint = fake_resolve_endpoint
cc._update_session_history = lambda *a, **k: None
try:
return asyncio.run(