File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
registry/coder-labs/modules/sourcegraph_amp Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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]
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ function install_sourcegraph_amp() {
6767function 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
You can’t perform that action at this time.
0 commit comments