aider/aider/website/docs/llms/lm-studio.md
Paul Gauthier f9ef161991 copy
2024-11-22 07:07:41 -08:00

548 B

parent nav_order
Connecting to LLMs 400

LM Studio

To use LM Studio:

python -m pip install -U aider-chat

export LM_STUDIO_API_KEY=<key> # Mac/Linux
setx   LM_STUDIO_API_KEY <key> # Windows, restart shell after setx

export LM_STUDIO_API_BASE=<url> # Mac/Linux
setx   LM_STUDIO_API_BASE <url> # Windows, restart shell after setx

aider --model lm_studio/<your-model-name>

See the model warnings section for information on warnings which will occur when working with models that aider is not familiar with.