Fix amp version to allow --format=jsonl (#128)

* Fix amp version to allow --format=jsonl

* Pin version for followup
This commit is contained in:
Alex Netsch
2025-07-11 10:34:06 +01:00
committed by GitHub
parent aae0984271
commit 948b464ad7

View File

@@ -58,7 +58,7 @@ Task title: {}"#,
// Use shell command for cross-platform compatibility // Use shell command for cross-platform compatibility
let (shell_cmd, shell_arg) = get_shell_command(); let (shell_cmd, shell_arg) = get_shell_command();
let amp_command = "npx @sourcegraph/amp --format=jsonl"; let amp_command = "npx @sourcegraph/amp@0.0.1752148945-gd8844f --format=jsonl";
let mut command = Command::new(shell_cmd); let mut command = Command::new(shell_cmd);
command command
@@ -565,7 +565,7 @@ impl Executor for AmpFollowupExecutor {
// Use shell command for cross-platform compatibility // Use shell command for cross-platform compatibility
let (shell_cmd, shell_arg) = get_shell_command(); let (shell_cmd, shell_arg) = get_shell_command();
let amp_command = format!( let amp_command = format!(
"npx @sourcegraph/amp threads continue {} --format=jsonl", "npx @sourcegraph/amp@0.0.1752148945-gd8844f threads continue {} --format=jsonl",
self.thread_id self.thread_id
); );