Skip to content

Automatic bypass for edit tool #5353

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

Closed
2 tasks done
chezsmithy opened this issue Apr 25, 2025 · 3 comments · Fixed by #5657
Closed
2 tasks done

Automatic bypass for edit tool #5353

chezsmithy opened this issue Apr 25, 2025 · 3 comments · Fixed by #5657
Assignees
Labels
kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage" priority:medium Indicates medium priority

Comments

@chezsmithy
Copy link
Contributor

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

When I choose to allow the edit tool to work in automatic mode, I’m still asked to approve each change before the tool proceeds.

Solution

Update the edit tool, so that when in automatic mode each of the diff apply questions is bypassed and each change is auto applied. This will implement full YOLO mode.

@sestinj sestinj self-assigned this Apr 25, 2025
@chezsmithy
Copy link
Contributor Author

I’m noting I’m willing to submit a PR to solve for this issue. I’m also interested in other solutions or suggestions on implementation.

@dosubot dosubot bot added kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority labels Apr 25, 2025
@RomneyDa
Copy link
Collaborator

@chezsmithy this would be interesting! Thinking to keep uniform behavior for tool policies, this could be a settings toggle in the Settings Page. Potentially could also apply to chat codeblocks that match an existing file.

Top setting name candidates

  • Full YOLO mode
  • Edit Tool Auto-Apply
  • Automatically Apply Agent Edits

I think a good start would be to

  1. Add an "Automatically Apply Agent Edits" or similar settings toggle in the settings page that sets a new shared config value "autoApplyAgentEdits" or similar
  2. In the Client Tool Implementation of the edit tool, reference the value of autoApplyAgentEdits to conditionally accept all pending diffs after applies complete (see accept all button). Then, streaming should automatically continue after complete without changing any other logic!

@RomneyDa
Copy link
Collaborator

Fixed by #5657

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage" priority:medium Indicates medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants