-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat: multi edit and single search and replace tools #7267
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
Conversation
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.
This PR introduces two new editing tools (singleFindAndReplace and multiEdit) to replace the existing edit tools, with dynamic selection based on model capabilities. While the implementation is generally solid with good test coverage, there are concerns about hardcoded model name checks, potential breaking changes for existing tools, and some edge cases that need attention.
💡 To request a new detailed review, comment @continue-detailed-review
Code Review Summary✅ Strengths
|
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.
3 issues found across 16 files
React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai
to give feedback, ask questions, or re-run the review.
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.
3 issues found across 23 files
React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai
to give feedback, ask questions, or re-run the review.
feat: diff UI for find and replace tools
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
gui/package.json
Outdated
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
gui/src/redux/slices/sessionSlice.ts
Outdated
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
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.
approved by tomasz on #7367
@@ -297,6 +254,19 @@ export const streamNormalInput = createAsyncThunk< | |||
const newState = getState(); | |||
const toolSettings = newState.ui.toolSettings; | |||
const allToolCallStates = selectCurrentToolCalls(newState); | |||
|
|||
await Promise.all( |
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.
approved by tomasz on #7367
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.
Thanks for addressing comments!
🎉 This PR is included in version 1.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
changes
yet for edit tool UIsThis also adds a diff UI for search and replace tools, merged on separate PR
https://github.com/continuedev/continue/pull/7367/files
CON-3200
CON-2741
CON-3072
CON-3580
Summary by cubic
Adds two precise editing tools: Single Find and Replace and Multi Edit, with client-side implementations and thorough tests. Centralizes tool selection in core to pick the best editing tool per model and environment.
New Features
Refactors