mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 07:10:55 +00:00
Cleanup low value comments. (#248)
This commit is contained in:
parent
69d1c644d9
commit
0556358560
17 changed files with 31 additions and 78 deletions
|
|
@ -53,10 +53,10 @@ interface CalculatedEdit {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implementation of the Edit tool logic (moved from CLI)
|
||||
* Implementation of the Edit tool logic
|
||||
*/
|
||||
export class EditTool extends BaseTool<EditToolParams, ToolResult> {
|
||||
static readonly Name = 'replace'; // Keep static name
|
||||
static readonly Name = 'replace';
|
||||
private shouldAlwaysEdit = false;
|
||||
|
||||
/**
|
||||
|
|
@ -371,7 +371,7 @@ export class EditTool extends BaseTool<EditToolParams, ToolResult> {
|
|||
editData.newContent,
|
||||
'Current',
|
||||
'Proposed',
|
||||
{ context: 3 }, // Removed ignoreWhitespace for potentially more accurate display diff
|
||||
{ context: 3 },
|
||||
);
|
||||
displayResult = { fileDiff };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue