Files
cli/dev/website/docs/llms/lm-studio.md

542 B

parent, nav_order
parent nav_order
Connecting to LLMs 400

LM Studio

To use LM Studio:

python -m pip install -U dev-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

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

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