danielgross / localpilot

MIT License
3.34k stars 143 forks source link

How to use in JetBrains #19

Open siilats opened 11 months ago

siilats commented 11 months ago
  1. Download https://plugins.jetbrains.com/plugin/17718-github-copilot/versions/stable and unzip
  2. Search for overrideProxyUrl in agent.js
  3. Change it and test (checking this now, if anyone has success please let me know...)
siilats commented 11 months ago

Someone figured it out! https://github.com/fauxpilot/fauxpilot/issues/10#issuecomment-1710600127

siilats commented 11 months ago
image
siilats commented 11 months ago

Mac compress command does not create a valid zip file so use Keka or windows VM to compress the folder back up for installing https://apple.stackexchange.com/questions/414947/how-to-prevent-macos-from-adding-dot-underscore-files-whatever-html-in-zip-a

image image
siilats commented 11 months ago

Note that you need 4_0 model and manual install instructions for llama-cpp-python to use METAL https://github.com/abetlen/llama-cpp-python/blob/main/docs/install/macos.md?plain=1

siilats commented 11 months ago

It works but is way too slow on my M1. I wonder if someone wants to debug if its really using Metal

siilats commented 11 months ago

CodeGPT integration is a bit more userfriendly, from this branch https://github.com/carlrobertoh/CodeGPT/tree/178-add-support-for-llama-cpp

image