mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
feat: Add flow to allow modifying edits during edit tool call (#808)
This commit is contained in:
parent
584286cfd9
commit
9efca40dae
14 changed files with 520 additions and 6 deletions
|
|
@ -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',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue