timkmecl / codegpt

VSCode extension that allows you to use GPT3 inside the IDE
215 stars 65 forks source link

Can use the local model‘s server? #35

Open Arcmoon-Hu opened 1 year ago

Arcmoon-Hu commented 1 year ago

If I want to use open-source model such as Llama2 or codellama. How can I change the code

qiqing-bnu commented 3 weeks ago

You should install ollama on windows, wsl or mac, and pull the open source model in ollama. This software can find ollama service automatically, you can set ollama as your default model in this software. If you install ollama on wsl, you need to run wsl first, but no need to run ollama. The software will run ollama automatically. 屏幕截图 2024-08-29 141310