Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-1997 committed Nov 4, 2024
1 parent cff42ad commit 610240c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vscode/src/autoedits/providers/cody-gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class CodyGatewayPromptProvider implements PromptProvider {
},
]
return {
codeToReplace: codeToReplace,
codeToReplace,
promptResponse: prompt,
}
}
Expand Down
2 changes: 1 addition & 1 deletion vscode/src/autoedits/providers/fireworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class FireworksPromptProvider implements PromptProvider {
},
]
return {
codeToReplace: codeToReplace,
codeToReplace,
promptResponse: prompt,
}
}
Expand Down
2 changes: 1 addition & 1 deletion vscode/src/autoedits/providers/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class OpenAIPromptProvider implements PromptProvider {
},
]
return {
codeToReplace: codeToReplace,
codeToReplace,
promptResponse: prompt,
}
}
Expand Down
2 changes: 1 addition & 1 deletion vscode/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ function registerAutoEdits(disposables: vscode.Disposable[]): void {
enableFeature(
({ configuration }) => {
return (
configuration.experimentalAutoeditsEnabled !== undefined &&
configuration.experimentalAutoeditsEnabled === true &&
configuration.autocomplete === false
)
},
Expand Down

0 comments on commit 610240c

Please sign in to comment.