Aider
A terminal pair-programming tool that edits files in your git repo. It reaches any OpenAI-compatible server through two environment variables.
Settings
OPENAI_API_BASE
https://uncensoredllm.xyz/v1
OPENAI_API_KEY
your vk-... key
--model
openai/uncensoredllm-1
Steps
- Install Aider:
python -m pip install aider-install, thenaider-install. - Set the two environment variables. On Windows use
setxinstead ofexport, then restart the shell. - Change into your project directory and start Aider with the model name below.
Shell
export OPENAI_API_BASE="https://uncensoredllm.xyz/v1"export OPENAI_API_KEY="vk-..."aider --model openai/uncensoredllm-1The openai/ prefix tells Aider to use the OpenAI-compatible route. What follows it is our model id.
Context window and prices
Aider warns about models it does not know. Its docs say most people can ignore the warning, and that Aider never enforces these limits. To register the real values anyway, put a .aider.model.metadata.json file in your home directory, the repo root or the launch directory, or pass it with --model-metadata-file:
payload.jsonJSON
{ "openai/uncensoredllm-1": { "max_input_tokens": 262144, "max_output_tokens": 65536, "litellm_provider": "openai", "mode": "chat" }}Check that it works
Start Aider in a scratch repo. It prints the model name it loaded. Ask for a small change to a file and confirm it answers.