Repository navigation
Analyzing aider.md integration error and fixing model syntax - #50423
Conversation
Co-authored-by: pelikhan <[email protected]>
|
/smoke-aider |
|
🧑 |
|
@copilot review this report and fix the configuration of aider https://github.com/github/gh-aw/actions/runs/30961630830/job/92166746095 |
Co-authored-by: pelikhan <[email protected]>
|
/smoke-aider |
|
🧑 |
Co-authored-by: Copilot <[email protected]> Copilot-Session: 28bcccc5-87f9-4099-bfd2-a388f26587ec
PR Triage
|
|
/smoke-aider |
|
🧑 |
There was a problem hiding this comment.
Pull request overview
Updates Aider integration to normalize Copilot model aliases and detect LiteLLM failures.
Changes:
- Adjusts proxy configuration and model normalization.
- Captures Aider output to detect hidden failures.
- Regenerates the smoke-test workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/shared/aider.md |
Updates Aider configuration and harness behavior. |
.github/workflows/smoke-aider.lock.yml |
Regenerates the compiled smoke workflow. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Suppressed comments (3)
.github/workflows/shared/aider.md:63
- Both runtime base-URL overrides now omit the
/v1path required by the Copilot proxy (.github/aw/llms.md:24). These values override the config during execution, so requests can be sent to the wrong route.
- http://172.30.0.30:10002
- --set-env
- OPENAI_BASE_URL=http://172.30.0.30:10002
.github/workflows/shared/aider.md:94
- This normalization also affects Anthropic workflows because the compiler rewrites every provider-qualified model to
openai/<model>while retainingGH_AW_LLM_PROVIDER. Thusanthropic/claude-sonnet-4-5becomes the invalid dotted ID, although the Anthropic proxy advertises the hyphenated ID (.github/aw/llms.md:35). Gate this Copilot-specific rewrite on the GitHub backend.
env.AIDER_MODEL = env.AIDER_MODEL?.replace(
/^(openai\/claude-(?:haiku|sonnet|opus)-\d+)-(\d+)$/,
"$1.$2"
);
.github/workflows/shared/aider.md:104
- Changing from inherited stdio to buffered
spawnSyncintroduces Node's default 1 MiBmaxBuffer; a larger Aider response or log terminates the child withENOBUFSand fails an otherwise valid run. Set an explicit limit (the repository uses 100 MiB for potentially large child output inactions/setup/js/git_helpers.cjs:138) or stream and inspect chunks incrementally.
const result = spawnSync(command, [...commandArgs, "--message-file", promptFile], {
encoding: "utf8",
env,
});
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
| step-name: Write Aider Config | ||
| content: |- | ||
| openai-api-base: http://172.30.0.30:10002/v1 | ||
| openai-api-base: http://172.30.0.30:10002 |
|
🎉 This pull request is included in a new release. Release: |
Pull request created by AI Agent