mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Merge pull request #617 from RooVetGit/mode_switch_delay
Add a delay to allow auto approved mode changes to take effect
This commit is contained in:
@@ -2072,6 +2072,7 @@ export class Cline {
|
|||||||
targetMode.name
|
targetMode.name
|
||||||
} mode${reason ? ` because: ${reason}` : ""}.`,
|
} mode${reason ? ` because: ${reason}` : ""}.`,
|
||||||
)
|
)
|
||||||
|
await delay(500) // delay to allow mode change to take effect before next tool is executed
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user