Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed a bug in setup_text_llm * chore: update test suite This adds a system_message prepending test, a .reset() test, and makes the math testing a little more robust, while also trying to prevent some edge cases where the llm would respond with explanations or an affirmative 'Sure I can do that. Here's the result...' or similar responses instead of just the exepcted result. * New documentation site: https://docs.openinterpreter.com/ * feat: add %tokens magic command that counts tokens via tiktoken * feat: add estimated cost from litellm to token counter * fix: add note about only including current messages * chore: add %tokens to README * fix: include generated code in token count; round to 6 decimals * Put quotes around sys.executable (bug fix) * Added powershell language * Adding Mistral support * Removed /archive, adding Mistral support * Removed /archive, adding Mistral support * First version of ooba-powered setup_local_text_llm * First version of ooba-powered setup_local_text_llm * Second version of ooba-powered setup_local_text_llm * Testing tests * More flexible tests * Paused math test Let's look into this soon. Failing a lot * Improved tests * feat: add support for loading different config.yaml files This adds a --config_file option that allows users to specify a path to a config file or the name of a config file in their Open Interpreter config directory and use that config file when invoking interpreter. It also adds similar functionality to the --config parameter allowing users to open and edit different config files. To simplify finding and loading files I also added a utility to return the path to a directory in the Open Interpreter config directory and moved some other points in the code from using a manually constructed path to utilizing the same utility method for consistency and simplicity. * feat: add optional prompt token/cost estimate to %tokens This gives and optional argument that will estimate the tokens and cost of any provided prompt to allow users to consider the implications of what they are going to send before it has an impact on their token usage. * Paused math test * Switched tests to turbo * More Ooba * Using Eric's tests * The Local Update * Alignment * Alignment * Fixed shell blocks not ending on error bug * Added useful flags to generator * Fixed Mistral HTML entities + backticks problem * Fixed Mistral HTML entities + backticks problem * OpenAI messages -> text LLMs are now non-function-calling * OpenAI messages -> text LLMs are now non-function-calling * Better messaging * Incremented version, updated litellm * Skipping nested test * Exposed Procedures * Exposed get_relevant_procedures_string * Better procedures exposure * Better procedures exposure * Exits properly in colab * Better exposed procedures * Better exposed procedures * More powerful reset function, incremented version * WELCOME HACKERS! The Open Interpreter Hackathon is on. * Welcome hackers! * Fix typo in setup_text_llm.py recieve -> receive * Welcome hackers! * The OI hackathon has wrapped! Thank you everyone! * THE HACKATHON IS ON * ● The Open Interpreter Hackathon has been extended! * Join the hackathon! https://lablab.ai/event/open-interpreter-hackathon * Thank you hackathon participants! * Fix "depracated" typo * Update python.py Resolves issue: OpenInterpreter#635 * Update python.py More robust handling. * Fix indentation in language_map.py * Made semgrep optional, updated packages, pinned LiteLLM * Fixed end_of_message and end_of_code flags * Add container timeout for easier server integration of OI. controllable via env var 'OI_CONTAINER_TIMEOUT'. defaults to no timeout. Also add type safety to core/core.py * Update things, resolve merge conflicts. * fixed the tests, since they imported and assumed that was a instance, but is wasnt. now uses interpreter.create_interpreter() --------- Co-authored-by: Kyle Huang <[email protected]> Co-authored-by: Eric allen <[email protected]> Co-authored-by: killian <[email protected]> Co-authored-by: DaveChini <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> Co-authored-by: Jamie Dubs <[email protected]> Co-authored-by: Leif Taylor <[email protected]> Co-authored-by: chenpeng08 <[email protected]>
- Loading branch information