Migrate to mini-SWE-agent v2#109
Merged
Merged
Conversation
Contributor
|
@john-b-yang I pushed a small follow-up on this branch to fix the mini-SWE-agent v2 model config migration:
Verified through the actual CodeClash mini-SWE-agent v2 import path: |
Muhtasham
approved these changes
Jun 24, 2026
Muhtasham
left a comment
Contributor
There was a problem hiding this comment.
Approved. I reviewed the mini-SWE-agent v2 migration and pushed a small follow-up fixing the model config names in the README-linked examples/source roster. Provider resolution was verified through the actual CodeClash mini-SWE-agent v2 path, local SCML/CybORG/dummy tests pass, and CI is green.
Contributor
Author
|
You are amazing, thank you so much @Muhtasham, merging! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Migrating CodeClash to use mini-SWE-agent with version 2.0 upgrades.
Key changes:
mini-SWE-agentchangesexecuteto take a dictionary of{"command": <action>}, whereas it formerly took a string. To minimize amount of changes to rest of codebase, a smallClashDockerEnvironmentclass was added that wraps theexecuteto take in either a string or a dictionary. string inputs are then cast into the dictionary format before being passed to theexecutecall of the underlyingDockerEnvironmentclass defined by mini-SWE-agent.DeterministicModel)trajectory.html