-
Notifications
You must be signed in to change notification settings - Fork 20
HITL agent #107
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
base: main
Are you sure you want to change the base?
HITL agent #107
Conversation
debug_gym/gym/envs/env.py
Outdated
@@ -547,6 +547,23 @@ def step(self, action: ToolCall) -> EnvInfo: | |||
|
|||
return self.infos | |||
|
|||
def clone(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be subclassing the clone method in all type of envs? Some environments (e.g., SWE-Smith) require custom setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, we would have a generic way to create a copy of the environment. Maybe by reusing the the logic in run.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I tried it, I notice the RewriteOnly agent didn't have the proper context.
debug_gym/gym/envs/env.py
Outdated
@@ -547,6 +547,23 @@ def step(self, action: ToolCall) -> EnvInfo: | |||
|
|||
return self.infos | |||
|
|||
def clone(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, we would have a generic way to create a copy of the environment. Maybe by reusing the the logic in run.py
You can try it with
|
No description provided.