Skip to main content

LM Studio

Official website https://lmstudio.ai/

Connect LM Studio

  • Download LM Studio here lmstudio.ai
  • Open LM Studio and navigate to the My Models tab. Please ensure that you download a model.
  • If you have not downloaded a model, go to the Search tab and search for a model.
  • Next, go to Local Server tab.
  • Click on Select a model to load and choose a model.
  • Please wait until the loading reaches 100% completion.
  • Click on Start Server and keep LMStudio running.
  • Launch CodeGPT extension on VSCode/Local LLMs.
  • Choose LM Studio as Provider.
Remove Key

You don't need to disconnect; you can just 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.