OpenInterpreter/open-interpreter

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

Open

#1,512 建立於 2024年10月30日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Python (5,110 fork)batch import
Good First issue

倉庫指標

Star
 (59,943 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南