Compact screenshot context every 4 steps by default

This commit is contained in:
Space-Banane
2026-05-27 22:04:15 +02:00
parent 0c019474af
commit b05a7be668
8 changed files with 129 additions and 0 deletions

View File

@@ -70,3 +70,4 @@ def test_cli_emits_structured_return_and_data(monkeypatch: Any, capsys, tmp_path
assert payload["return"] == "Task completed successfully"
assert payload["data"] == "file1.txt\nfile2.txt"
assert captured_kwargs["options"].reasoning_effort == "medium"
assert captured_kwargs["options"].screen_context_decay_steps == 4