Add a delay to allow auto approved mode changes to take effect

This commit is contained in:
Matt Rubens
2025-01-28 11:11:28 -05:00
parent f70e3fc08b
commit bd0a613be1

View File

@@ -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) {