Repository navigation
Always create fresh condenser with current defaults on load - #263
Conversation
Testing the short-term fix for issue #1518 where condensation fails when a tool loop spans almost the entire view. Uses commit d6233c9e6c174533de912d4bcda2edb83f4d1e27 from openhands/fix-condensation-defaults branch. Co-authored-by: openhands <openhands@all-hands.dev>
This ensures existing users get the latest condenser settings (e.g., max_size, keep_first) without needing to reconfigure. Previously, condenser settings were loaded from agent_settings.json which meant users would keep using old defaults even after SDK updates. Co-authored-by: openhands <openhands@all-hands.dev>
cc96544 to
e3f0550
Compare
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
|
@OpenHands please revert to 7a9085b and undo the changes to pyproject.toml in this PR |
|
I'm on it! xingyaoww can track my progress at all-hands.dev |
This reverts the SDK version changes, going back to using the released versions (1.7.2) from PyPI instead of the git commit. Co-authored-by: openhands <openhands@all-hands.dev>
e3f0550 to
4452b97
Compare
|
Done! I've completed the requested changes:
The changes have been pushed to the |
Summary
This PR ensures existing users get the latest condenser settings (e.g., max_size, keep_first) without needing to reconfigure. Previously, condenser settings were loaded from agent_settings.json which meant users would keep using old defaults even after SDK updates.
Changes
agent_store.pyto always create a freshLLMSummarizingCondenserwith current SDK defaults when loading agent settings, rather than preserving the old condenser configurationTesting
This change ensures users automatically benefit from improved condenser defaults in new SDK versions.
🚀 Try this PR