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

贡献者指南