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

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

Open
ectormgl opened this issue Oct 30, 2024 · 2 comments · May be fixed by #1524
Open

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

ectormgl opened this issue Oct 30, 2024 · 2 comments · May be fixed by #1524
Labels
Good First issue Good for newcomers

Comments

@ectormgl
Copy link

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

@MikeBirdTech
Copy link
Contributor

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

@Maryam-Nasseri
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants