Skip to content

trouble getting started #186

@jave

Description

@jave

I cant seem to get started with aidermacs, I get configuration issues.

Some data points.

messages buffer:
Aider version 0.88.32

  • Running aider-ce with (--chat-mode architect --model openrouter --editor-model openrouter/anthropic/claude-sonnet-4.5 --no-auto-commits --no-auto-accept-architect --weak-model openrouter/anthropic/claude-sonnet-4.5)

  • i can at least start aider and aider-ce from a shell

  • i was trying different things to make aidermacs work and atm i have this in init.el
    (setenv "OPENROUTER_API_KEY" jv-openrouter-api-key)
    (setq aidermacs-default-model "openrouter/anthropic/claude-sonnet-4.5")
    (setq aidermacs-weak-model "openrouter/anthropic/claude-sonnet-4.5")
    (setq aidermacs-editor-model "openrouter/anthropic/claude-sonnet-4.5")
    ;;- openrouter/anthropic/claude-sonnet-4.5
    (use-package aidermacs
    :bind (("C-c a" . aidermacs-transient-menu))
    :config
    :custom
    ; See the Configuration section below
    (aidermacs-use-architect-mode t)
    (aidermacs-default-model "openrouter/anthropic/claude-sonnet-4"))

then i get this in the aidermacs buffer. what am i doing wrong?

Warning for openrouter: Unknown context window size and costs, using sane defaults.
Did you mean one of these?

  • openrouter/anthropic/claude-2
  • openrouter/anthropic/claude-3-5-haiku
  • openrouter/anthropic/claude-3-5-haiku-20241022
  • openrouter/anthropic/claude-3-haiku
  • openrouter/anthropic/claude-3-haiku-20240307
  • openrouter/anthropic/claude-3-opus
  • openrouter/anthropic/claude-3-sonnet
  • openrouter/anthropic/claude-3.5-sonnet
  • openrouter/anthropic/claude-3.5-sonnet:beta
  • openrouter/anthropic/claude-3.7-sonnet
  • openrouter/anthropic/claude-3.7-sonnet:beta
  • openrouter/anthropic/claude-haiku-4.5
  • openrouter/anthropic/claude-instant-v1
  • openrouter/anthropic/claude-opus-4
  • openrouter/anthropic/claude-opus-4.1
  • openrouter/anthropic/claude-opus-4.5
  • openrouter/anthropic/claude-sonnet-4
  • openrouter/anthropic/claude-sonnet-4.5
  • openrouter/bytedance/ui-tars-1.5-7b
  • openrouter/cognitivecomputations/dolphin-mixtral-8x7b
  • openrouter/cohere/command-r-plus
  • openrouter/databricks/dbrx-instruct
  • openrouter/deepseek/deepseek-chat
  • openrouter/deepseek/deepseek-chat-v3-0324
  • openrouter/deepseek/deepseek-chat-v3.1
  • openrouter/deepseek/deepseek-coder
  • openrouter/deepseek/deepseek-r1
  • openrouter/deepseek/deepseek-r1-0528
  • openrouter/deepseek/deepseek-v3.2-exp
  • openrouter/fireworks/firellava-13b
  • openrouter/google/gemini-2.0-flash-001
  • openrouter/google/gemini-2.5-flash
  • openrouter/google/gemini-2.5-pro
  • openrouter/google/gemini-3-pro-preview
  • openrouter/google/gemini-pro-1.5
  • openrouter/google/gemini-pro-vision
  • openrouter/google/palm-2-chat-bison
  • openrouter/google/palm-2-codechat-bison
  • openrouter/gryphe/mythomax-l2-13b
  • openrouter/jondurbin/airoboros-l2-70b-2.1
  • openrouter/mancer/weaver
  • openrouter/meta-llama/codellama-34b-instruct
  • openrouter/meta-llama/llama-2-13b-chat
  • openrouter/meta-llama/llama-2-70b-chat
  • openrouter/meta-llama/llama-3-70b-instruct
  • openrouter/meta-llama/llama-3-70b-instruct:nitro
  • openrouter/meta-llama/llama-3-8b-instruct:extended
  • openrouter/meta-llama/llama-3-8b-instruct:free
  • openrouter/microsoft/wizardlm-2-8x22b:nitro
  • openrouter/minimax/minimax-m2
  • openrouter/mistralai/mistral-7b-instruct
  • openrouter/mistralai/mistral-7b-instruct:free
  • openrouter/mistralai/mistral-large
  • openrouter/mistralai/mistral-small-3.1-24b-instruct
  • openrouter/mistralai/mistral-small-3.2-24b-instruct
  • openrouter/mistralai/mixtral-8x22b-instruct
  • openrouter/nousresearch/nous-hermes-llama2-13b
  • openrouter/openai/gpt-3.5-turbo
  • openrouter/openai/gpt-3.5-turbo-16k
  • openrouter/openai/gpt-4
  • openrouter/openai/gpt-4-vision-preview
  • openrouter/openai/gpt-4.1
  • openrouter/openai/gpt-4.1-2025-04-14
  • openrouter/openai/gpt-4.1-mini
  • openrouter/openai/gpt-4.1-mini-2025-04-14
  • openrouter/openai/gpt-4.1-nano
  • openrouter/openai/gpt-4.1-nano-2025-04-14
  • openrouter/openai/gpt-4o
  • openrouter/openai/gpt-4o-2024-05-13
  • openrouter/openai/gpt-5
  • openrouter/openai/gpt-5-chat
  • openrouter/openai/gpt-5-codex
  • openrouter/openai/gpt-5-mini
  • openrouter/openai/gpt-5-nano
  • openrouter/openai/gpt-oss-120b
  • openrouter/openai/gpt-oss-20b
  • openrouter/openai/o1
  • openrouter/openai/o1-mini
  • openrouter/openai/o1-mini-2024-09-12
  • openrouter/openai/o1-preview
  • openrouter/openai/o1-preview-2024-09-12
  • openrouter/openai/o3-mini
  • openrouter/openai/o3-mini-high
  • openrouter/pygmalionai/mythalion-13b
  • openrouter/qwen/qwen-2.5-coder-32b-instruct
  • openrouter/qwen/qwen-vl-plus
  • openrouter/qwen/qwen3-coder
  • openrouter/switchpoint/router
  • openrouter/undi95/remm-slerp-l2-13b
  • openrouter/x-ai/grok-4
  • openrouter/x-ai/grok-4-fast:free
  • openrouter/z-ai/glm-4.6
  • openrouter/z-ai/glm-4.6:exacto
    You can skip this check with --no-show-model-warnings

https://aider.chat/docs/llms/warnings.html
�[?25lOpen documentation url for more info? �[1m(�[0mY�[1m)�[0mes/�[1m(�[0mN�[1m)�[0mo/�[1m(�[0mD�[1m)�[0mon't ask again �[1m[�[0mYes�[1m]�[0m:
⡿ Awaiting Confirmation...n
⡿ Awaiting Confirmation...

You can skip this check with --no-gitignore

Add .aider* to .gitignore (recommended)? (Y)es/(N)o [Yes]:
⣾ Awaiting Confirmation...n
⣾ Awaiting Confirmation...
Aider v0.88.33
Main model: openrouter with architect edit format
Editor model: openrouter/anthropic/claude-sonnet-4.5 with editor-whole edit format
Weak model: openrouter/anthropic/claude-sonnet-4.5
Git repo: .git with 40 files
Repo-map: using 1024 tokens, auto refresh

architect> hello!

architect> hey

LiteLLM API Error: litellm.BadRequestError: GetLLMProvider Exception - list index out of range

original model: openrouter
⣯ Processing...Empty response received from LLM. Check your provider account?
⣯ Processing...

Tokens: 1.1k sent, 0 received.

⣾ Processing Answer...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions