Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .github/workflows/shared/aider.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
runtimes:
python:
version: "3.12"
pre-agent-steps:
- name: Preinstall Aider CLI
run: |
python3 -m pip install --quiet --user --disable-pip-version-check aider-chat==0.86.2
"$HOME/.local/bin/aider" --version
env:
AIDER_ANALYTICS_DISABLE: "true"
AIDER_CHECK_UPDATE: "false"
engine:
id: aider
display-name: Aider
Expand Down Expand Up @@ -58,7 +66,6 @@ engine:
const { join } = require("path");
const { homedir } = require("os");

const AIDER_VERSION = "0.86.2";
const [command, ...commandArgs] = process.argv.slice(2);

const fail = (result, action) => {
Expand All @@ -70,15 +77,6 @@ engine:
const localBin = join(homedir(), ".local", "bin");
const env = { ...process.env, PATH: `${localBin}:${process.env.PATH || ""}` };

fail(
spawnSync(
"python3",
["-m", "pip", "install", "--quiet", "--user", "--disable-pip-version-check", `aider-chat==${AIDER_VERSION}`],
{ stdio: "inherit", env }
),
"Aider installation"
);

const promptFile = process.env.GH_AW_PROMPT;
if (!promptFile) {
throw new Error("GH_AW_PROMPT is not set");
Expand Down
30 changes: 9 additions & 21 deletions .github/workflows/smoke-aider.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading