setup aider
This commit is contained in:
18
.aider.conf.yml
Normal file
18
.aider.conf.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Aider configuration file
|
||||||
|
# For more information, see: https://aider.chat/docs/config/aider_conf.html
|
||||||
|
|
||||||
|
# To use the custom OpenAI-compatible endpoint from hyperbolic.xyz
|
||||||
|
# Set the model and the API base URL.
|
||||||
|
model: Qwen/Qwen3-Coder-480B-A35B-Instruct
|
||||||
|
openai-api-base: https://api.hyperbolic.xyz/v1
|
||||||
|
openai-api-key: "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"
|
||||||
|
model-metadata-file: .aider.model.metadata.json
|
||||||
|
|
||||||
|
# The API key is now set directly in this file.
|
||||||
|
# Please replace "your-api-key-from-the-curl-command" with the actual bearer token.
|
||||||
|
#
|
||||||
|
# Alternatively, for better security, you can remove the openai-api-key line
|
||||||
|
# from this file and set it as an environment variable. To do so on Windows,
|
||||||
|
# run the following command in PowerShell and then RESTART YOUR SHELL:
|
||||||
|
#
|
||||||
|
# setx OPENAI_API_KEY "your-api-key-from-the-curl-command"
|
7
.aider.model.metadata.json
Normal file
7
.aider.model.metadata.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Qwen/Qwen3-Coder-480B-A35B-Instruct": {
|
||||||
|
"context_window": 262144,
|
||||||
|
"input_cost_per_token": 0.000002,
|
||||||
|
"output_cost_per_token": 0.000002
|
||||||
|
}
|
||||||
|
}
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -42,3 +42,8 @@ data/cnn_training/cnn_training_data*
|
|||||||
testcases/*
|
testcases/*
|
||||||
testcases/negative/case_index.json
|
testcases/negative/case_index.json
|
||||||
chrome_user_data/*
|
chrome_user_data/*
|
||||||
|
.aider*
|
||||||
|
!.aider.conf.yml
|
||||||
|
!.aider.model.metadata.json
|
||||||
|
|
||||||
|
.env
|
||||||
|
Reference in New Issue
Block a user