From 948b464ad7fbca7446cfa309e4e37064cf7cb556 Mon Sep 17 00:00:00 2001 From: Alex Netsch Date: Fri, 11 Jul 2025 10:34:06 +0100 Subject: [PATCH] Fix amp version to allow --format=jsonl (#128) * Fix amp version to allow --format=jsonl * Pin version for followup --- backend/src/executors/amp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/executors/amp.rs b/backend/src/executors/amp.rs index 08dd4ded..257f0413 100644 --- a/backend/src/executors/amp.rs +++ b/backend/src/executors/amp.rs @@ -58,7 +58,7 @@ Task title: {}"#, // Use shell command for cross-platform compatibility 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); command @@ -565,7 +565,7 @@ impl Executor for AmpFollowupExecutor { // Use shell command for cross-platform compatibility let (shell_cmd, shell_arg) = get_shell_command(); 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 );