fix(context): restore marker import in tests, drop unused compressor imports

The arg-truncation removal deleted the only uses of the marker constants in
agent/context_compressor.py (ruff F401), and the test module had been
importing _COMPRESSION_MARKER_PREFIX through it, so test_context_compressor
line 137 raised NameError. Import it from its home, agent.compression_marker.
This commit is contained in:
kshitijk4poor
2026-09-27 13:09:06 +05:30
committed by kshitij
parent 697f07a56f
commit 66240ddc59
2 changed files with 1 additions and 2 deletions

View File

@@ -17,8 +17,6 @@ from typing import Any, Dict, List, Optional, Sequence, Tuple
from agent.image_eviction_policy import outbound_image_retire_count
from agent.compression_marker import (
ELISION_MARKER_MAX_LEN,
_COMPRESSION_MARKER_PREFIX,
_COMPRESSION_MARKER_TEMPLATE,
_elision_marker,
elide,
elide_middle,