Skip to content

Commit

Permalink
fix(commandsService): swap SemanticSearchKeyword and SemanticSearchCo…
Browse files Browse the repository at this point in the history
…de methods

Switch the functionality of `codespaceCodeAnalysis` and `codespaceKeywordsAnalysis` methods in `commandsService.ts`. Now `codespaceCodeAnalysis` uses `SemanticSearchCode` and `codespaceKeywordsAnalysis` uses `SemanticSearchKeyword`.
  • Loading branch information
phodal committed Jul 11, 2024
1 parent ddff9fb commit f87dbc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/commandsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ export class CommandsService {
}

codespaceCodeAnalysis(input: string) {
return this.autodev.catalyser.query(input, SystemActionType.SemanticSearchKeyword);
return this.autodev.catalyser.query(input, SystemActionType.SemanticSearchCode);
}

codespaceKeywordsAnalysis(input: string) {
return this.autodev.catalyser.query(input, SystemActionType.SemanticSearchCode);
return this.autodev.catalyser.query(input, SystemActionType.SemanticSearchKeyword);
}

async explainTerminalSelectionContextMenu() {
Expand Down

0 comments on commit f87dbc7

Please sign in to comment.