Coder Social home page Coder Social logo

Comments (6)

KillianLucas avatar KillianLucas commented on May 18, 2024

Thanks for pointing this out @HexHands!

We should probably have some sort of message that says when it completes because it hits max_tokens (which might be happening here?) . Then we could perhaps ask the user if they want to run the unfinished code block.

Does it do this for very small snippets on your system, like "print hello world"? That will help us determine if it's a max_tokens issue.

from open-interpreter.

HexHands avatar HexHands commented on May 18, 2024

This is the best result I got. It runs the code, but for longer code it doesn't finish it. I would like the ability to be able to set max tokens using code.
Capture

from open-interpreter.

TheWhiteWord avatar TheWhiteWord commented on May 18, 2024

same problem

from open-interpreter.

brunoboto96 avatar brunoboto96 commented on May 18, 2024

Fiy, this was also referenced by me here: #126 (comment)
Even though I've changed the context size on the appropriate files, also had a brief go at tokentrim.py but no luck

from open-interpreter.

brunoboto96 avatar brunoboto96 commented on May 18, 2024

#126 (comment) Thanks @jordanbtucker the refactoring now works by editing the params in interpreter.py
Still a bit buggy in between instructions, but at least it does not stop 🚀

from open-interpreter.

leifktaylor avatar leifktaylor commented on May 18, 2024

This issue looks resolved based on @brunoboto96 comment.

@jordanbtucker

from open-interpreter.

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.