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:
Matt Rubens 2025-01-28 11:21:57 -05:00 committed by GitHub
commit 50eb2e2c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2072,6 +2072,7 @@ export class Cline {
targetMode.name
} mode${reason ? ` because: ${reason}` : ""}.`,
)
await delay(500) // delay to allow mode change to take effect before next tool is executed
break
}
} catch (error) {