gpt-pilot icon indicating copy to clipboard operation
gpt-pilot copied to clipboard

[Enhancement]: Ability to run gpt-pilot in vscode/docker containers

Open senko opened this issue 1 year ago • 2 comments

If we can run gpt-pilot in an isolated docker container, we could automatically accept all comand runs (eg "npm init", package installs, etc), speeding things up.

Related: https://www.youtube.com/watch?v=SDa3v4Quj7Y

senko avatar Dec 22 '23 09:12 senko

You could take look at my fork just to take inspiration from it.

https://github.com/nikolicjakov/gpt-pilot

If you want to test how it works you will need to have docker running on your workstation and VSCode extension called Remote Development installed.

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack

Then you just clone my fork to your workstation and open it in VSCode. Popup should show up in lower right corner asking you if you would like to open this project in dev container just confirm that popup and you should be good to go.

Now the problem is that for demo i am using your docker-compose stack which is not intended for use with GPT Pilot VSCode extension. It is intended to be used as standalone via browser tty. But in future you could configure your project to configure everything for its users not having them to mess around with installations of python versions and requirements.

🇭🇷

nikolicjakov avatar Dec 22 '23 09:12 nikolicjakov

I aml also interested to be able to deply gpt-pilot in a docker and to be able to reach it through a vs code client. What is the status of this feature? Is there any test to do?

flefevre avatar May 05 '24 09:05 flefevre