Comments (3)
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.
Same error, running on Mixtral in LMStudio. Please fix.
from open-interpreter.
same here; Macos 14.4.1 running interpreter --model ollama/mistral
from open-interpreter.
Related Issues (20)
- role inversion with llama 3 "You are Open Interpreter"
- Hosted multimodal models from Open Router currently don't work on Open Interpreter HOT 2
- Adding the 'Computer' destroyed open intererpreter which was the best product i used HOT 9
- Installation fails without specifying full Python version in one-liner `oi-mac-installer.sh`
- Termux: tip and report, each time during upgrade
- In VSCode terminal, generated code blocks & errors progressively repeat in a flashing way
- "open terminal failed: not a terminal"
- Password-input prompt from OS was removed from the terminal when OI try to run `sudo` commands. HOT 3
- "× This environment is externally managed" Error
- support for gpt-4o HOT 5
- Field "model_name" has conflict with protected namespace "model_". HOT 2
- 使用 ollama 本地模型时报错 HOT 1
- computer is not defined HOT 1
- Install for Noobs like me on windows 10 HOT 4
- `AttributeError: 'wrapper_descriptor' object has no attribute '__code__'` when attempting to use a custom language HOT 1
- [interprsbendary25:feature/edit-codemeter/core/respond.py__](url) HOT 2
- No module named 'openai.types.beta.threads.message_content' HOT 1
- may I know why OI output so many texts?
- `java` disabled or not supported.
- Windows timers use deprecated "AT command" instead of schtasks (pwsh)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-interpreter.