Skip to content

feat(cli): setup-aider — configure Aider for OmniRoute (.aider.conf.yml + env recipe) - #4302

Merged
diegosouzapw merged 1 commit into
release/v3.8.30from
feat/aider-cli
Jun 19, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.30from
feat/aider-cli

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

What

CLI #12. omniroute setup-aider writes Aider's ~/.aider.conf.yml (openai-api-base = root, NO /v1 — LiteLLM appends /v1/chat/completions — model: openai/<id>) + prints the env recipe (OPENAI_API_BASE/OPENAI_API_KEY in env, not the file) + headless aider --message --yes. Merges; remote-aware.

Validation

  • Remote (VPS v3.8.30): setup-aider --remote --dry-run --model glm/glm-5-turbo → correct config + recipe.
  • Aider's wire (/v1/chat/completions) already validated → "OK". 4 unit tests; check:cli-i18n ✓.

Series: …Goose #4300 · Qwen #4301 · Aider (this). Last one: Gemini CLI (special — via OmniRoute's Gemini /v1beta endpoint).

🤖 Generated with Claude Code

…ml + env recipe)

CLI #12 of the series. `omniroute setup-aider` writes Aider's ~/.aider.conf.yml
(openai-api-base = ROOT url, NO /v1 — LiteLLM appends /v1/chat/completions —
model: openai/<id>), merges to preserve existing config, and prints the env
recipe (OPENAI_API_BASE + OPENAI_API_KEY in the env, never the file) plus the
headless command (aider --message ... --yes). Remote-aware; model via --model or
interactive pick.

Researched against aider.chat: OpenAI-compatible via OPENAI_API_BASE (base, no
/v1) + --model openai/<id>. Aider's wire (/v1/chat/completions) already validated → "OK".

Tests: resolveAiderTarget (/v1 strip, key), buildAiderConfig (openai-api-base +
openai/<model> + preserve), buildAiderRecipe (env-ref key + headless). 4 unit tests; cli-i18n green.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@diegosouzapw
diegosouzapw merged commit 165d9cd into release/v3.8.30 Jun 19, 2026
4 checks passed
@diegosouzapw
diegosouzapw deleted the feat/aider-cli branch June 19, 2026 20:52
@diegosouzapw diegosouzapw mentioned this pull request Jun 20, 2026
tkgo11 pushed a commit to tkgo11/OmniRoute that referenced this pull request Sep 23, 2026
…ml + env recipe) (cheaper-inference#4302)

CLI cheaper-inference#12 of the series. `omniroute setup-aider` writes Aider's ~/.aider.conf.yml
(openai-api-base = ROOT url, NO /v1 — LiteLLM appends /v1/chat/completions —
model: openai/<id>), merges to preserve existing config, and prints the env
recipe (OPENAI_API_BASE + OPENAI_API_KEY in the env, never the file) plus the
headless command (aider --message ... --yes). Remote-aware; model via --model or
interactive pick.

Researched against aider.chat: OpenAI-compatible via OPENAI_API_BASE (base, no
/v1) + --model openai/<id>. Aider's wire (/v1/chat/completions) already validated → "OK".

Tests: resolveAiderTarget (/v1 strip, key), buildAiderConfig (openai-api-base +
openai/<model> + preserve), buildAiderRecipe (env-ref key + headless). 4 unit tests; cli-i18n green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant