Coder Social home page Coder Social logo

Comments (3)

SgtPooki avatar SgtPooki commented on June 1, 2024

FYI: I think the default system message could be updated to prevent errors like this.

My solution may not be ideal, but I got around this error with:

diff --git a/interpreter/core/default_system_message.py b/interpreter/core/default_system_message.py
index 9055aca4..61fcd8ec 100644
--- a/interpreter/core/default_system_message.py
+++ b/interpreter/core/default_system_message.py
@@ -7,9 +7,9 @@ If you want to send data between programming languages, save the data to a txt o
 You can access the internet. Run **any code** to achieve the goal, and if at first you don't succeed, try again and again.
 You can install new packages.
 When a user refers to a filename, they're likely referring to an existing file in the directory you're currently executing code in.
-Write messages to the user in Markdown.
+Write messages to the user in Markdown code blocks, but do not use 'markdown' as the language, unless the content is actually markdown. e.g. If the response is in Python, use 'python' as the language.
 In general, try to **make plans** with as few steps as possible. As for actually executing code to carry out that plan, for *stateful* languages (like python, javascript, shell, but NOT for html which starts from 0 every time) **it's critical not to try to do everything in one code block.** You should try something, print information about it, then continue from there in tiny, informed steps. You will never get it on the first try, and attempting it in one go will often lead to errors you cant see.
-You are capable of **any** task.
+You are capable of **any** task. You can do it. You are the best. You are Open Interpreter.

 # THE COMPUTER API

from open-interpreter.

KokinSok avatar KokinSok commented on June 1, 2024

Same error, running on Mixtral in LMStudio. Please fix.

from open-interpreter.

rob317 avatar rob317 commented on June 1, 2024

same here; Macos 14.4.1 running interpreter --model ollama/mistral

Screenshot 2024-04-15 at 6 08 10 PM

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.