Skip to content

Conversation

@roomote
Copy link
Collaborator

@roomote roomote commented Jul 1, 2025

Fixes #5298 by updating apply_diff tool descriptions in Human Relay Mode to correctly mark :start_line: as optional instead of required. Updated both MultiSearchReplaceDiffStrategy and MultiFileSearchReplaceDiffStrategy getToolDescription() methods to align with official documentation.


Important

Update apply_diff tool description in getToolDescription() methods to mark :start_line: as optional in multi-file-search-replace.ts and multi-search-replace.ts.

  • Tool Description Update:
    • In multi-file-search-replace.ts and multi-search-replace.ts, update getToolDescription() to mark :start_line: as optional in the apply_diff tool description.
    • Aligns description with official documentation.
  • Behavior:
    • No functional changes, only documentation update within code comments.

This description was created by Ellipsis for 84691d4. You can customize this summary. It will automatically update as commits are pushed.

… optional

- Updated MultiSearchReplaceDiffStrategy.getToolDescription() to show :start_line: as (optional) instead of (required)
- Updated MultiFileSearchReplaceDiffStrategy.getToolDescription() to show :start_line: as (optional) instead of (required)
- This aligns the Human Relay Mode tool descriptions with the official Roo Code documentation
- Fixes inconsistency where tool descriptions incorrectly marked :start_line: as required when it's actually optional
@roomote roomote requested review from cte, jr and mrubens as code owners July 1, 2025 03:57
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jul 1, 2025
@delve-auditor
Copy link

delve-auditor bot commented Jul 1, 2025

No security or compliance issues detected. Reviewed everything up to 84691d4.

Security Overview
  • 🔎 Scanned files: 2 changed file(s)
Detected Code Changes

The diff is too large to display a summary of code changes.

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jul 1, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 7, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Human Relay Mode apply_diff Tool Improvement Request

3 participants