Coder Social home page Coder Social logo

How to "Continue"? about cli HOT 2 CLOSED

gitbito avatar gitbito commented on August 28, 2024
How to "Continue"?

from cli.

Comments (2)

macky3099 avatar macky3099 commented on August 28, 2024

Hi @billcxx, to achieve what you are looking for in Bito CLI you can make use of context.

By default Bito CLI keeps context of up to 20 requests in interactive mode (interactive mode means the one when you simply run "bito").

In non-interactive mode (which means when you run "bito -p -f" commands) you can make use of "-c" flag which will keep writing your context in a file and use it for your next request that you make.

Example: "bito -p prompt.txt -c context.txt"

(You can always edit the context size by editing the "max_context_entries" field set in your config file of Bito CLI. To access the config simply run "bito config -e").

Below are screenshots of few examples of how it can be done:

  1. This screenshots shows how you can use context for one particular item:
    Screenshot 2023-12-04 at 9 59 57 PM

  2. This screenshot has a more generic prompt (x.txt file) which can be used anywhere:
    Screenshot 2023-12-04 at 10 09 42 PM

  3. This screenshot shows how you can use it in interactive mode as well:
    Screenshot 2023-12-05 171646

Please let us know if you still face any issues. Thanks!

from cli.

macky3099 avatar macky3099 commented on August 28, 2024

Hi @billcxx, I am closing this issue for now. If you face any issues then please feel free to reopen it again. Thanks!

from cli.

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.