mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 21:50:52 +00:00
Merge branch 'main' into feat/debug-logging-refactor
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
commit
9b524a59c1
70 changed files with 4434 additions and 933 deletions
|
|
@ -154,7 +154,11 @@ ${textContent}
|
|||
override async shouldConfirmExecute(): Promise<
|
||||
ToolCallConfirmationDetails | false
|
||||
> {
|
||||
if (this.config.getApprovalMode() === ApprovalMode.AUTO_EDIT) {
|
||||
// Auto-execute in AUTO_EDIT mode and PLAN mode (read-only tool)
|
||||
if (
|
||||
this.config.getApprovalMode() === ApprovalMode.AUTO_EDIT ||
|
||||
this.config.getApprovalMode() === ApprovalMode.PLAN
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue