Giter Site home page Giter Site logo

Comments (5)

nalbion avatar nalbion commented on August 17, 2024 1

The timeout is suggested by the LLM. We could retry with an longer timeout, but ideally the user would be able to provide free-form input for the LLM such as

My computer is slow, it's going to take 10 minutes.

or

Don't use @okta/okta-react, use @me/okta-react

from gpt-pilot.

HIMA-MB02 avatar HIMA-MB02 commented on August 17, 2024

Hey @nalbion
What if we asked the LLM to use yarn to manage dependencies?
Installation of parallel dependencies will definitely improve install times.
Additionally, can we ask the LLM to batch installations of dependencies?
We could define a threshold for max number of dependencies that can be installed in one command.

I am interested in picking this up, happy to discuss further

from gpt-pilot.

nalbion avatar nalbion commented on August 17, 2024

@HIMA-MB02 is Yarn still considered to be superior to NPM? or PNPM? or Bun?

...In any case, these are all very specific to the JavaScript world. People are using GPT Pilot with Unity, Python, Kotlin and potentially the next big language/framework.

You could probably include "use yarn for dependency management" in the original prompt, or add the --advanced arg when running and it will ask for further discussion on the technologies proposed.

There's a lot of room for improvement in "advanced" mode. I think that it should (be able to) explain why it's chosen each technology and allow you to have a discussion and either say "ok" or insist on a different choice/s.

#78

from gpt-pilot.

HIMA-MB02 avatar HIMA-MB02 commented on August 17, 2024

Yarn is still quite superior than NPM, but Bun is the new kid on the block. It's very promising, but it is still too early to say. They don't have complete 100% support for Node.js yet, as we speak today.

Nevertheless, this is case specific, and I believe the solution you've provided should work.

Alternatively, what do you think about a "de-bugger" persona, that can possibly handle such decisions automatically, without having the developer involved?
Just one additional layer of checks, before the LLM requests for the developer to get involved.

from gpt-pilot.

nalbion avatar nalbion commented on August 17, 2024

Yes, we can add other personas, but I think for this time out we could feedback to the LLM that the process timed out. Maybe it will try again with a longer timeout

from gpt-pilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.