Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"CodeGPT.apiKey": "CodeGPT Plus Beta",
"CodeGPT.apiKey": "LM Studio",
"CodeGPT.Autocomplete.enabled": true,
"CodeGPT.Autocomplete.provider": "CodeGPT Plus - Plus",
"CodeGPT.Autocomplete.suggestionDelay": 700
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://codegpt.co
https://docs.codegpt.co

# API Docs
https://developers.codegpt.co/
https://developers.codegpt.co

## ✨ Join Our Community 🤜 🤛
We believe in collaboration and feedback, which is why we encourage you to get involved in our vibrant and welcoming Discord community. Feel free to ask questions, suggest new features, and share your experience with fellow coders
Expand Down
14 changes: 10 additions & 4 deletions docs/tutorial-ai-providers/lmstudio.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,30 @@ Official website [https://lmstudio.ai/](https://lmstudio.ai/)
## Connect LM Studio
- Download LM Studio here [lmstudio.ai](https://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.

<p align="center">
<img width="425" height="100" src="https://github.com/user-attachments/assets/c248167b-32be-415a-9650-f5a8a83ba294"/>
</p>

- Next, go to `Local Server` tab.
- Click on `Select a model to load` and choose a model.

<p align="center">
<img width="425" height="100" src="https://github.com/davila7/code-gpt-docs/assets/37567214/4ef13a7b-0ba9-42cc-8644-4d7a93b5734a"/>
<img width="425" height="100" src="https://github.com/user-attachments/assets/2e3fb6ed-d64c-4938-b243-372f3ef9d06d"/>
</p>

- Please wait until the loading reaches 100% completion.
- Click on `Start Server` and keep LMStudio running.
- Launch CodeGPT extension on VSCode.
- Launch CodeGPT extension on VSCode/Local LLMs .
- Choose LM Studio as `Provider`.

<p align="center">
<img width="350" height="170" src="https://github.com/davila7/code-gpt-docs/assets/37567214/8bfeb19f-e4ce-4a79-b56d-37a7e8b9f5ac" />
<img width="350" height="170" src="https://github.com/user-attachments/assets/e73743e8-8102-4168-b482-6481189367d6"/>
</p>

:::caution Remove Key
There is no need to disconnect; just change the provider. If the agent doesn't respond and a "Gain error" appears, please close VSCode. Then, ensure that LM Studio runs with the model before reopening it.
There is no need to disconnect; 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.
:::


Expand Down