-
Notifications
You must be signed in to change notification settings - Fork 109
refactor: remove reconciliation methods, use runtime agent directly #1542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
82b191c
refactor: remove reconciliation methods, use runtime agent directly
enyst a1d7101
feat: add agent.load() method to validate tools match on restore
enyst 8a7c73d
Update openhands-sdk/openhands/sdk/conversation/state.py
enyst 730de13
Update openhands-sdk/openhands/sdk/agent/base.py
enyst 16c6999
refactor: rename load() to verify() for clarity
enyst 174094b
refactor: use persisted state directly, update agent field
enyst 8263551
fix: override runtime-provided values on resume
enyst 425828a
fix: keep stuck_detection from persisted state
enyst 0f6bfc2
test: add comprehensive tests for resume behavior
enyst abb44f1
Merge branch 'main' into openhands/remove-reconciliation-methods
enyst e55581f
chore: remove unused LLM OVERRIDE_ON_SERIALIZE
enyst 5d7afb3
docs: clarify ConversationState.workspace is a workspace object
enyst 7b37817
Merge branch 'main' into openhands/remove-reconciliation-methods
enyst 027dce6
Merge branch 'main' into openhands/remove-reconciliation-methods
enyst 6b90933
Update openhands-sdk/openhands/sdk/conversation/state.py
enyst bf6382a
Update openhands-sdk/openhands/sdk/conversation/state.py
enyst 5f2a32c
test: rename reconciliation tests to loading
enyst 0ef84cf
test: cover secret masking in LLM json dumps
enyst 05cdbff
merge main into openhands/remove-reconciliation-methods
enyst 43ae5f5
test: cover resume overrides agent/LLM while preserving state settings
enyst 9553377
test(integration): add restore conversation test
enyst d5018f4
test(integration): make t10_restore_conversation runnable without LLM…
enyst 1bc6797
Update tests/integration/tests/t10_restore_conversation.py
enyst 62b5f03
Revert "test(integration): make t10_restore_conversation runnable wit…
enyst 8c59ef0
test(integration): persist t10 conversations under repo outputs dir
enyst 9e25d61
test(integration): ensure restore test persists user history events
enyst fe67cc6
test(integration): assert restored conversation preserves event count
enyst 07da0d8
test(integration): send follow-up message after restore
enyst 3f1bf6e
Update openhands-sdk/openhands/sdk/agent/base.py
enyst 253803b
refactor: simplify tool mismatch errors in AgentBase.verify
enyst f020d00
Update openhands-sdk/openhands/sdk/conversation/state.py
enyst a001f4e
Update tests/cross/test_agent_loading.py
enyst ea525f2
Update tests/cross/test_agent_loading.py
enyst a034025
Update tests/cross/test_agent_loading.py
enyst 897d4c0
Update tests/integration/tests/t10_restore_conversation.py
enyst cc8d500
test(integration): use ERROR status for restore + avoid brittle statu…
enyst 64e46ed
test(integration): assert confirmation policy + finished status after…
enyst bb8c84d
test(integration): set ERROR before follow-up run
enyst 1b9f9d5
Update openhands-sdk/openhands/sdk/conversation/state.py
enyst c06da9c
Update tests/integration/tests/t10_restore_conversation.py
enyst 5927553
test(integration): verify llm1 persisted fields in base_state
enyst 142c4ca
Merge branch 'main' into openhands/remove-reconciliation-methods
enyst 90ff68d
merge main into openhands/remove-reconciliation-methods
enyst 6eabe87
Update tests/sdk/conversation/local/test_state_serialization.py
enyst d4948ce
test: assert persisted stats fields on resume
enyst ececa9e
test: add explicit asserts/comments for resumed stats
enyst 78558d0
test: add failure message for context_window assert
enyst 99d3e7d
test: dedup resumed stats asserts while keeping messages
enyst 50ae74d
Update tests/sdk/conversation/local/test_state_serialization.py
enyst 7d54ca6
test(cross): cover resume failure when agent type changes
enyst ede04b7
test(cross): use top-level pytest import
enyst 8e12188
test(integration): run t10 restore once with 2 LLM configs
enyst a2aa1b9
fix(integration): skip t10 only for integration runs; read restore co…
enyst 42fa809
Revert "fix(integration): skip t10 only for integration runs; read re…
enyst 1734d51
Revert "test(integration): run t10 restore once with 2 LLM configs"
enyst f4b52ca
test(integration): remove t10 restore behavior test (moved to split P…
enyst b49f1ef
Merge branch 'main' into openhands/remove-reconciliation-methods
xingyaoww File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.