Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not seeing any code blocks or able to execute any code... #391

Closed
anthonyrussano opened this issue Sep 15, 2023 · 13 comments
Closed

Not seeing any code blocks or able to execute any code... #391

anthonyrussano opened this issue Sep 15, 2023 · 13 comments
Labels
Bug Something isn't working

Comments

@anthonyrussano
Copy link

Describe the bug

I installed using pip install open-interpreter.

I ran using interpreter --fast --yes

It doesnt provide any response when I ask questions related to my local environment.

> can you show me a table of 5 people and their shoe size
                                                                                                                                                                                              
  Sure! I can create a table for you. Do you have the names and shoe sizes of the 5 people?                                                                                                   
                                                                                                                                                                                              
> no make them up
                                                                                                                                                                                              
  Alright, I will create a table with 5 people and their shoe sizes. Here is the table:                                                                                                       
                                                                                                                                                                                              
                                                                                                                                                                                              
    Name      Shoe Size                                                                                                                                                                       
   ━━━━━━━━━━━━━━━━━━━━━                                                                                                                                                                      
    John      9                                                                                                                                                                               
    Emily     7                                                                                                                                                                               
    Michael   10                                                                                                                                                                              
    Sarah     8                                                                                                                                                                               
    David     11                                                                                                                                                                              
                                                                                                                                                                                              
                                                                                                                                                                                              
  Let me know if there's anything else I can help you with!                                                                                                                                   
                                                                                                                                                                                              
> can you show me a list of files in my home folder


> can you show me a list of files in my home folder


> i dont see anything
                                                                                                                                                                                              
  I apologize for the inconvenience. Let me try a different approach to retrieve the list of files in your home folder.                                                                       
                                                                                                                                                                                              
> 

ENVIRONMENT DETAILS;

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Reproduce

  1. Install pip install open-interpreter
  2. Run interpreter --fast --yest
  3. Provide API Key
  4. Attempt to ask any question related to local environment, (i.e. list files on my desktop)

Expected behavior

It should return a list of files on the desktop, or provide a code example for achieving this.

Screenshots

No response

Open Interpreter version

0.1.4

Python version

3.10

Operating System name and version

Ubuntu 22.04

Additional context

No response

@anthonyrussano anthonyrussano added the Bug Something isn't working label Sep 15, 2023
@rishabhjain
Copy link

Facing same issue

@gagebt
Copy link

gagebt commented Sep 16, 2023

Same. Both in Colab and on Windows.
Debug: Openai returns empty args for run_code. Looks like behaviour change on their side.

@VinylBinary
Copy link

I am running the local 13b medium model on Pop!_OS 22.04 LTS and it executes the code as usual.

@ishaan-jaff
Copy link
Contributor

Can you run python3 -m poetry update litellm . This will ensure you're on the latest version of litellm. I want to make sure litellm is not causing anything to break for you

@Tony72495
Copy link

Can you run python3 -m poetry update litellm . This will ensure you're on the latest version of litellm. I want to make sure litellm is not causing anything to break for you

Is litellm required for this? If so it wasn't really made clear anywhere.

@ishaan-jaff
Copy link
Contributor

@Tony72495 thanks for the feedback - if this fixes your issue will work with the contributors to ensure this is on the readme

@Tony72495
Copy link

@Tony72495 thanks for the feedback - if this fixes your issue will work with the contributors to ensure this is on the readme

If I enter that command as written it just says there's no module called poetry

@Tony72495
Copy link

@Tony72495 thanks for the feedback - if this fixes your issue will work with the contributors to ensure this is on the readme

Okay after running pip3 install litellm it's working to run code now. I didn't realize that was required, thanks.

@Paxmortis
Copy link

pip3 install litellm --upgrade , worked for me seems a version issue
Successfully uninstalled litellm-0.1.650
Successfully installed litellm-0.1.674

@LewisDigitalAI
Copy link

pip3 install litellm --upgrade , worked for me seems a version issue Successfully uninstalled litellm-0.1.650 Successfully installed litellm-0.1.674

This also worked for me, thanks!

@anthonyrussano
Copy link
Author

I was able to fix this by installing python 3.11

@AncalagonX
Copy link

AncalagonX commented Sep 16, 2023

I still had this problem as of two minutes ago, but pip3 install litellm --upgrade fixed this for me, thank you!

@anthonyrussano
Copy link
Author

thanks, I was still noticing this issue on my raspberry pi... intermittantly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants