Skip to content

Commit 57b3d66

Browse files
fix: Renamed hAI to HAI (#168)
1 parent 781c6ee commit 57b3d66

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/core/controller/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ Commit message:`
17211721
if (buildContextOptions.useIndex) {
17221722
if (!isManualTrigger && (!buildIndexProgress || !buildIndexProgress.progress)) {
17231723
const userConfirmation = await vscode.window.showWarningMessage(
1724-
"hAI performs best with a code index. Would you like to navigate to Settings to start indexing for this workspace?",
1724+
"HAI performs best with a code index. Would you like to navigate to Settings to start indexing for this workspace?",
17251725
"Open Settings",
17261726
"No",
17271727
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const InvalidWorkspaceErrorMessage = "No workspace open for Code Index"
2-
export const CodeContextStartMessage = "(hAI) Adding Code Context"
2+
export const CodeContextStartMessage = "(HAI) Adding Code Context"
33
export const CodeContextCompletionMessage = "Code Context Addition Done, Moving Ahead with Code Indexing..."
4-
export const CodeIndexStartMessage = "(hAI) Indexing Code"
4+
export const CodeIndexStartMessage = "(HAI) Indexing Code"
55
export const CodeIndexCompletionMessage = "Indexing Code Completed"
66
export const CodeContextErrorMessage = "Error occurred while adding Code Context. Please restoring the current workspace."

src/integrations/inline-editing/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class InlineEditingProvider {
4444
provideCodeActions(document, range) {
4545
const editor = vscode.window.activeTextEditor
4646
if (editor && editor.document === document && !range.isEmpty) {
47-
const action = new vscode.CodeAction("Edit with hAI", vscode.CodeActionKind.RefactorRewrite)
47+
const action = new vscode.CodeAction("Edit with HAI", vscode.CodeActionKind.RefactorRewrite)
4848
action.command = {
4949
command: "hai.editSelectedWithAI",
5050
title: "Edit with HAI",
@@ -160,7 +160,7 @@ export class InlineEditingProvider {
160160
this.activeCodeLensProvider?.dispose()
161161
this.isEditing = true
162162

163-
const systemPrompt = `You are hAI, an AI coding assistant. You are an AI programming assistant who is an expert in adding new code by following instructions.
163+
const systemPrompt = `You are HAI, an AI coding assistant. You are an AI programming assistant who is an expert in adding new code by following instructions.
164164
165165
- You should think step-by-step to plan your code before generating the final output.
166166
- You should ensure your code matches the indentation and whitespace of the preceding code in the users' file
@@ -354,7 +354,7 @@ export class InlineEditingProvider {
354354
) {
355355
return [
356356
new vscode.CodeLens(editor.selection, {
357-
title: "⌥⇧K Edit with hAI",
357+
title: "⌥⇧K Edit with HAI",
358358
command: "hai.editSelectedWithAI",
359359
tooltip: "Edit selected code with HAI",
360360
}),

0 commit comments

Comments
 (0)