diff --git a/evals/workflows/dedup.eval.ts b/evals/workflows/dedup.eval.ts index 3d580548a8..e4e833ed29 100644 --- a/evals/workflows/dedup.eval.ts +++ b/evals/workflows/dedup.eval.ts @@ -40,12 +40,14 @@ const createPrompt = (issueNumber: number) => { ).replace(/\${{ github\.event\.issue\.number }}/g, issueNumber.toString()); }; +const tsxPath = path.join(process.cwd(), 'node_modules', '.bin', 'tsx'); + const DEDUP_SETTINGS = { ...ORIGINAL_SETTINGS, mcpServers: { issue_deduplication: { - command: 'npx', - args: ['tsx', mockMcpPath], + command: tsxPath, + args: [mockMcpPath], }, }, }; diff --git a/evals/workflows/dedup_refresh.eval.ts b/evals/workflows/dedup_refresh.eval.ts index ad28013f8f..ef0ef352ca 100644 --- a/evals/workflows/dedup_refresh.eval.ts +++ b/evals/workflows/dedup_refresh.eval.ts @@ -39,12 +39,14 @@ const createPrompt = () => { ); }; +const tsxPath = path.join(process.cwd(), 'node_modules', '.bin', 'tsx'); + const REFRESH_SETTINGS = { ...ORIGINAL_SETTINGS, mcpServers: { issue_deduplication: { - command: 'npx', - args: ['tsx', mockMcpPath], + command: tsxPath, + args: [mockMcpPath], }, }, };