Skip to content

Commit 5003a08

Browse files
committed
Fix typo
1 parent 8248866 commit 5003a08

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

registry/coder-labs/modules/sourcegraph_amp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module "sourcegraph_amp" {
7676
## Troubleshooting
7777

7878
- If `amp` is not found, ensure `install_sourcegraph_amp = true` and your API key is valid
79-
- Logs are written under `/home/coder/.sourcegraph_amp-module/` (`install.log`, `agentapi-start.log`) for debugging
79+
- Logs are written under `/home/coder/.sourcegraph-amp-module/` (`install.log`, `agentapi-start.log`) for debugging
8080
- If AgentAPI fails to start, verify that your container has network access and executable permissions for the scripts
8181

8282
> [!IMPORTANT]

registry/coder-labs/modules/sourcegraph_amp/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe("sourcegraph-amp", async () => {
123123
await execModuleScript(id, {
124124
SOURCEGRAPH_AMP_SYSTEM_PROMPT : prompt,
125125
});
126-
const resp = await readFileContainer(id, "/home/coder/.sourcegraph-amp/SYSTEM_PROMPT.md");
126+
const resp = await readFileContainer(id, "/home/coder/.sourcegraph-amp-module/SYSTEM_PROMPT.md");
127127
expect(resp).toContain(prompt);
128128
});
129129

registry/coder-labs/modules/sourcegraph_amp/scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ function install_sourcegraph_amp() {
6767
function setup_system_prompt() {
6868
if [ -n "${SOURCEGRAPH_AMP_SYSTEM_PROMPT:-}" ]; then
6969
echo "Setting Sourcegraph AMP system prompt..."
70-
mkdir -p "$HOME/.sourcegraph-amp"
71-
echo "$SOURCEGRAPH_AMP_SYSTEM_PROMPT" > "$HOME/.sourcegraph-amp/SYSTEM_PROMPT.md"
72-
echo "System prompt saved to $HOME/.sourcegraph-amp/SYSTEM_PROMPT.md"
70+
mkdir -p "$HOME/.sourcegraph-amp-module"
71+
echo "$SOURCEGRAPH_AMP_SYSTEM_PROMPT" > "$HOME/.sourcegraph-amp-module/SYSTEM_PROMPT.md"
72+
echo "System prompt saved to $HOME/.sourcegraph-amp-module/SYSTEM_PROMPT.md"
7373
else
7474
echo "No system prompt provided for Sourcegraph AMP."
7575
fi

0 commit comments

Comments
 (0)