Skip to content

Commit

Permalink
feat(autoedit): restrict autoedit to vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-1997 committed Nov 24, 2024
1 parent 9954d17 commit 2c3a464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ function shouldEnableExperimentalAutoedits(
if (config.configuration.experimentalAutoeditsEnabled !== undefined) {
return config.configuration.experimentalAutoeditsEnabled
}
return autoeditExperimentFlag && isS2(authStatus)
return autoeditExperimentFlag && isS2(authStatus) && isRunningInsideAgent() === false
}

/**
Expand Down

0 comments on commit 2c3a464

Please sign in to comment.