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

Running "interpreter --model i raises a LiteLLM:ERROR

Open ectormgl opened this issue 1 year ago • 3 comments

Describe the bug

After running interpreter --model i

without any previous configuration, the following error is raised (after some input is sent):

> wheres my chrime_analysis directory
16:16:08 - LiteLLM:ERROR: utils.py:1953 - Model not found or error in checking vision support. You passed model=i, custom_llm_provider=openai. Error: This model isn't mapped yet. model=i, custom_llm_provider=openai. Add it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json.

Reproduce

1.pip install open-interpreter 2. input at cmd: interpreter --model i 3. input up some question, like where is a random directory

Expected behavior

It should work sucesscully, without any errors and without the need of the configuration (as it would run with your hosted LLM)

Screenshots

image

Open Interpreter version

0.4.3

Python version

3.11.9

Operating System name and version

Windows 11

Additional context

No response

ectormgl avatar Oct 30 '24 19:10 ectormgl

I agree that we should not have litellm check for pricing on the i model. To add clarity, OI still worked successfully and generated code for your request

MikeBirdTech avatar Oct 30 '24 19:10 MikeBirdTech

It gives the same error for me too, I exited with ctrl + c and re-typed interpreter --model i, this time even with the error, it proceeded to perform the task (just enter your question at the prompt). I believe it is an automatic system message that shows a non-existing error!

Maryam-Nasseri avatar Nov 01 '24 18:11 Maryam-Nasseri

I'm interested in working on this issue. Could you provide more context about what you're looking for? Any additional details about requirements or constraints would be helpful.

tysoncung avatar Oct 21 '25 02:10 tysoncung