fix: Context window truncation makes progress (#9052)

Co-authored-by: Calvin Smith <calvin@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Calvin Smith
2025-06-11 12:47:34 -06:00
committed by GitHub
parent 7dede37fd8
commit a356f56237
3 changed files with 87 additions and 69 deletions

View File

@@ -156,7 +156,7 @@ class Session:
condensers=[
BrowserOutputCondenserConfig(attention_window=2),
LLMSummarizingCondenserConfig(
llm_config=llm.config, keep_first=4, max_size=140
llm_config=llm.config, keep_first=4, max_size=120
),
]
)