Skip to content

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

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open

HITL agent #107

wants to merge 45 commits into from

Conversation

chisingh
Copy link
Contributor

No description provided.

@chisingh chisingh marked this pull request as ready for review May 21, 2025 19:23
@chisingh chisingh requested a review from MarcCote May 21, 2025 19:23
@chisingh chisingh requested a review from MarcCote May 23, 2025 15:50
@@ -547,6 +547,23 @@ def step(self, action: ToolCall) -> EnvInfo:

return self.infos

def clone(self):
Copy link
Collaborator

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.

Copy link
Collaborator

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

Copy link
Collaborator

@MarcCote MarcCote left a 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.

@@ -547,6 +547,23 @@ def step(self, action: ToolCall) -> EnvInfo:

return self.infos

def clone(self):
Copy link
Collaborator

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

@MarcCote
Copy link
Collaborator

You can try it with

python scripts/run.py scripts/config_mini_nightmare.yaml --agent guided_agent -v -p base.llm_name='gpt-4o-mini' -p base.problems=['pandas_dataframe'] --no-live

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants