LM Studio
Official website https://lmstudio.ai/
Connect LM Studio
Download LM Studio here lmstudio.ai
Open LM Studio and navigate to the
My Modelstab. Please ensure that you download a model.If you have not downloaded a model, go to the
Searchtab and search for a model.Next, go to
Local Servertab.Click on
Select a model to loadand choose a model.
- Please wait until the loading reaches 100% completion.
 - Click on 
Start Serverand keep LMStudio running. - On the VSCode CodeGPT Extension, change the model on the chat.
 
Pick the
Local LLMsand selectLLM StudioasProvider.Use the models available directly. Click outside the options and ask to chat.
Remove Key 
You don't need to disconnect; you can change the provider. If the agent doesn't respond and a "Gain error" appears, please close VSCode. Then, please ensure LM Studio runs with the model before reopening it.