Skip to content

Commit bd0a613

Browse files
committed
Add a delay to allow auto approved mode changes to take effect
1 parent f70e3fc commit bd0a613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,6 +2072,7 @@ export class Cline {
20722072
targetMode.name
20732073
} mode${reason ? ` because: ${reason}` : ""}.`,
20742074
)
2075+
await delay(500) // delay to allow mode change to take effect before next tool is executed
20752076
break
20762077
}
20772078
} catch (error) {

0 commit comments

Comments
 (0)