OpenInterpreter/open-interpreter

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

Open

#1512 aperta il 30 ott 2024

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (5110 fork)batch import
Good First issue

Metriche repository

Star
 (59.943 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor