feat: Make get context window much more efficient (#3292)

This commit is contained in:
Matthew Zhou
2025-07-11 11:28:07 -07:00
committed by GitHub
parent 98b691a553
commit 80b3356945
5 changed files with 68 additions and 45 deletions

View File

@@ -237,7 +237,7 @@ def validate_context_window_overview(
# 16. Check attached file is visible
if attached_file:
assert attached_file.visible_content in overview.core_memory
assert attached_file.visible_content in overview.core_memory, "File must be attached in core memory"
assert '<file status="open"' in overview.core_memory
assert "</file>" in overview.core_memory