Skip to content

Commit 9282198

Browse files
committed
fix typos
1 parent 6678f67 commit 9282198

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

registry/coder/modules/aider/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe("Aider", async () => {
9696
id,
9797
"/home/coder/.aider-module/agentapi-start.log",
9898
);
99-
expect(resp).toContain("API key provided !");
99+
expect(resp).toContain("API key provided!");
100100
});
101101

102102
test("custom-folder", async () => {

registry/coder/modules/aider/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ variable "agentapi_version" {
9898

9999
variable "ai_prompt" {
100100
type = string
101-
description = "Initial task prompt for Claude Code."
101+
description = "Initial task prompt for Aider."
102102
default = ""
103103
}
104104

registry/coder/modules/aider/scripts/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ function install_aider() {
2929
pipx install --force aider-install
3030
aider-install
3131
fi
32-
echo "Aider installed: $(aider --version || echo 'check failed the Aider module installation failed')"
32+
echo "Aider installed: $(aider --version || echo 'Aider installation check failed')"
3333
}
3434

3535
function configure_aider_settings() {
3636
if [ -n "${ARG_AIDER_CONFIG}" ]; then
37-
echo "Aider Envronment Variables AND Model are Configuring"
37+
echo "Configuring Aider environment variables and model"
3838

3939
mkdir -p "$HOME/.config/aider"
4040

4141
echo "$ARG_AIDER_CONFIG" > "$HOME/.config/aider/.aider.conf.yml"
42-
echo "Aider config.yml created at $HOME/.config/aider/.aider.conf.yml"
42+
echo "Aider config created at $HOME/.config/aider/.aider.conf.yml"
4343
else
44-
printf "NO Aider Environment Variables and Model Configured\n"
44+
printf "No Aider environment variables or model configured\n"
4545
fi
4646
}
4747

registry/coder/modules/aider/scripts/start.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ ARG_ENV_API_NAME_HOLDER=${ARG_ENV_API_NAME_HOLDER:-}
1414

1515
echo "--------------------------------"
1616
echo "Provider: $ARG_PROVIDER"
17-
echo "Module: $ARG_MODEL"
17+
echo "Model: $ARG_MODEL"
1818
echo "--------------------------------"
1919

2020
if [ -n "$ARG_API_KEY" ]; then
21-
printf "API key provided !\n"
21+
printf "API key provided!\n"
2222
export $ARG_ENV_API_NAME_HOLDER=$ARG_API_KEY
23-
else
24-
printf "API key not provided\n"
25-
fi
23+
else
24+
printf "API key not provided.\n"
25+
fi
2626

2727
build_initial_prompt() {
2828
local initial_prompt=""
@@ -43,7 +43,7 @@ start_agentapi() {
4343
local initial_prompt
4444
initial_prompt=$(build_initial_prompt)
4545
if [ -n "$initial_prompt" ]; then
46-
echo "Using Initial Prompt to Start agentapi with Task Prompt"
46+
echo "Starting agentapi with initial prompt"
4747
agentapi server -I="$initial_prompt" --type aider --term-width=67 --term-height=1190 -- aider --model $ARG_MODEL --yes-always
4848
else
4949
agentapi server --term-width=67 --term-height=1190 -- aider --model $ARG_MODEL --yes-always

0 commit comments

Comments
 (0)