mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
feat: Add flow to allow modifying edits during edit tool call (#808)
This commit is contained in:
@@ -202,6 +202,7 @@ export interface ToolEditConfirmationDetails {
|
||||
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void>;
|
||||
fileName: string;
|
||||
fileDiff: string;
|
||||
isModifying?: boolean;
|
||||
}
|
||||
|
||||
export interface ToolExecuteConfirmationDetails {
|
||||
@@ -231,5 +232,7 @@ export enum ToolConfirmationOutcome {
|
||||
ProceedAlways = 'proceed_always',
|
||||
ProceedAlwaysServer = 'proceed_always_server',
|
||||
ProceedAlwaysTool = 'proceed_always_tool',
|
||||
ModifyVSCode = 'modify_vscode',
|
||||
ModifyVim = 'modify_vim',
|
||||
Cancel = 'cancel',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user