26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
# Aider configuration file
|
|
# For more information, see: https://aider.chat/docs/config/aider_conf.html
|
|
|
|
# Reconfigured to use native OpenRouter support with a custom endpoint,
|
|
# as indicated by the 'litellm.BadRequestError'.
|
|
model: openrouter/Qwen/Qwen3-Coder-480B-A35B-Instruct
|
|
|
|
openai-api-base: https://api.hyperbolic.xyz/v1
|
|
openai-api-key: "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"
|
|
|
|
# The following settings configure aider to use your custom OpenRouter endpoint
|
|
# and API key by setting the necessary environment variables for litellm.
|
|
set-env:
|
|
- OPENROUTER_API_BASE=https://api.hyperbolic.xyz/v1
|
|
- OPENROUTER_API_KEY=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
|
|
|
|
# Added to handle file encoding errors like "'utf-8' codec can't decode...".
|
|
# This sets the default encoding for reading files to UTF-16.
|
|
# If this causes issues with other files, you may need to convert
|
|
# core/prediction_tracker.py to UTF-8 instead.
|
|
encoding: utf-16
|
|
|
|
# The metadata file is still needed to inform aider about the
|
|
# context window and costs for this custom model.
|
|
model-metadata-file: .aider.model.metadata.json
|