Comments (7)
I was also facing the same issue in a Debian with i3wm. Same version: 0.2.4
.
It seems like the changes @MikeBirdTech commented are not in that version yet. However, you can simply apply them yourself and see it fixed!
Thanks, @MikeBirdTech! π
from open-interpreter.
Hey @Jpkovas
Sorry to hear that you're having issues. We're working on a fix
from open-interpreter.
@Jpkovas Are you sure you're on 0.2.4
?
Can you please run %info
after you launch interpreter to verify?
This should have been resolved in https://github.com/OpenInterpreter/open-interpreter/pull/1117/files
Thanks :)
from open-interpreter.
I'm also seeing this problem on 0.2.4:
from open-interpreter.
Also seeing on 0.2.4.
Trace:
File
"/Users/darin/interpreter/.venv/lib/python3.11/site-packages/interpreter/core/llm/u
tils/convert_to_openai_messages.py", line 173, in convert_to_openai_messages
new_message["content"] = new_message["content"].strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'strip'
~/interpreter 34s
.venv β― [IPKernelApp] WARNING | Parent appears to have exited, shutting down.
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
~/interpreter 34s
.venv β― interpreter --os
β OS Control enabled
> %info
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
Python Version: 3.11.7
Pip Version: 23.2.1
Open-interpreter Version: cmd: Open Interpreter 0.2.4 New Computer Update
, pkg: 0.2.4
OS Version and Architecture: macOS-14.2.1-arm64-arm-64bit
CPU Info: arm
RAM Info: 16.00 GB, used: 6.88, free: 0.36
# Interpreter Info
Vision: True
Model: gpt-4-vision-preview
Function calling: False
Context window: 110000
Max tokens: 4096
Auto run: True
API base: None
Offline: False
Curl output: Not local
```
from open-interpreter.
I'm also seeing the same issue on 0.2.4.
Issue occurs when computer.display.view()
is called to capture a screenshot, resulting in interpreter crashing with: AttributeError:
'list' object has no attribute 'strip'`
Environment Details:
- Python Version: 3.11.1
- Pip Version: 24.0
- OS Version and Architecture: macOS-14.5-arm64-arm-64bit
- CPU Info: arm
- RAM Info: 16.00 GB, used: 7.40, free: 0.40
Error Details
- Function Causing Error:
convert_to_openai_messages
- Error Description: Attempting to call
strip()
on a list item withinnew_message["content"]
Interpreter Settings
- Version: 0.2.4
- Vision: True
- Model: gpt-4-vision-preview
- Function calling: False
- Context window: 110000 tokens
- Max tokens: 4096
- Auto run: True
- API base: None
- Offline: False
- Curl output: Not local
Trace:
File "/Users/nathandryer/.pyenv/versions/3.11.1/envs/open-interpreter/lib/python3.11/site-packages/interpreter/core/llm/utils/convert_to_openai_messages.py", line 173, in convert_to_openai_messages
new_message["content"] = new_message["content"].strip()
AttributeError: 'list' object has no attribute 'strip'
Let me know if you need anymore info.
from open-interpreter.
How does one apply these changes?
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.