aider
This commit is contained in:
@ -3,23 +3,19 @@
|
||||
|
||||
# Reconfigured to use native OpenRouter support with a custom endpoint,
|
||||
# as indicated by the 'litellm.BadRequestError'.
|
||||
model: openrouter/Qwen/Qwen3-Coder-480B-A35B-Instruct
|
||||
|
||||
model: Qwen/Qwen3-Coder-480B-A35B-Instruct
|
||||
openai-api-base: https://api.hyperbolic.xyz/v1
|
||||
openai-api-key: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkb2Jyb21pci5wb3BvdkB5YWhvby5jb20iLCJpYXQiOjE3NTMyMzE0MjZ9.fCbv2pUmDO9xxjVqfSKru4yz1vtrNvuGIXHibWZWInE"
|
||||
|
||||
# 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=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkb2Jyb21pci5wb3BvdkB5YWhvby5jb20iLCJpYXQiOjE3NTMyMzE0MjZ9.fCbv2pUmDO9xxjVqfSKru4yz1vtrNvuGIXHibWZWInE
|
||||
|
||||
# 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
|
||||
# set-env:
|
||||
# - OPENROUTER_API_BASE=https://api.hyperbolic.xyz/v1
|
||||
# - OPENROUTER_API_KEY=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkb2Jyb21pci5wb3BvdkB5YWhvby5jb20iLCJpYXQiOjE3NTMyMzE0MjZ9.fCbv2pUmDO9xxjVqfSKru4yz1vtrNvuGIXHibWZWInE
|
||||
|
||||
# Set encoding to UTF-8 (default)
|
||||
encoding: utf-8
|
||||
no-gitignore: true
|
||||
# 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"openrouter/Qwen/Qwen3-Coder-480B-A35B-Instruct": {
|
||||
"Qwen/Qwen3-Coder-480B-A35B-Instruct": {
|
||||
"context_window": 262144,
|
||||
"input_cost_per_token": 0.000002,
|
||||
"output_cost_per_token": 0.000002
|
||||
|
Reference in New Issue
Block a user