open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Issues with running open-interpreter using Anthropic models on Windows and Ubuntu

Open Cpuerpxm opened this issue 10 months ago • 2 comments

Describe the bug

I encountered several issues while trying to run open-interpreter with Anthropic's Claude models on both Windows and Ubuntu environments.

Reproduce

On Windows:

  1. After deploying open-interpreter and running the command interpreter --model openrouter/anthropic/claude-3-haiku -y --context_window 200000 --max_tokens 8196 --max_output 8196, the process seems to complete, but it ends with the error: "Bad address (C:\projects\libzmq\src\epoll.cpp:100)".
  2. The expected output file is not generated on my computer. The issue persists even when using an Anaconda virtual environment.
  3. I tried resolving the issue by downgrading the Pyzmq version based on suggestions from CSDN:
  4. Installing an older version (19.0.2) using a whl file resulted in a "module zmq not found" error when running the command again. Downgrading using pip install resulted in the error "ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects". On Ubuntu:
  5. After installing open-interpreter on Ubuntu and setting the environment variables using the export command, I ran the command interpreter --model openrouter/anthropic/claude-3-haiku -y --context_window 200000 --max_tokens 8196 --max_output 8196.
  6. The command resulted in the following error: usage: interpreter [-h] [-y] [-f] [-l] [-d] [--use-azure] interpreter: error: unrecognized arguments: --model openrouter/anthropic/claude-3-haiku --context_window 200000 --max_tokens 8196 --max_output 8196

Expected behavior

I expected the open-interpreter to run successfully with the specified Anthropic model on both Windows and Ubuntu, generating the desired output file. However, I encountered errors on both platforms, and the expected output was not produced.

Screenshots

PixPin_2024-04-11_15-15-49 PixPin_2024-04-11_15-14-48 PixPin_2024-04-11_15-14-18

Open Interpreter version

0.2.0

Python version

3.12.3

Operating System name and version

Windows11/Ubuntu 22

Additional context

No response

Cpuerpxm avatar Apr 11 '24 07:04 Cpuerpxm

I think you might just need to put the model in --model "anthropic/claude-3-haiku". It works for me on ubuntu. Screenshot from 2024-05-10 07-39-58

Merlinvt avatar May 10 '24 05:05 Merlinvt

Also with openrouter Screenshot from 2024-05-10 07-43-11

Merlinvt avatar May 10 '24 05:05 Merlinvt