openinterpreter icon indicating copy to clipboard operation
openinterpreter copied to clipboard

run interpreter get error

Open hb-0 opened this issue 2 years ago • 1 comments

Describe the bug

interpreter Traceback (most recent call last): File "", line 198, in run_module_as_main File "", line 88, in run_code File "C:\Python311\Scripts\interpreter.exe_main.py", line 4, in File "C:\Python311\Lib\site-packages\interpreter_init.py", line 1, in from .core.core import OpenInterpreter File "C:\Python311\Lib\site-packages\interpreter\core\core.py", line 11, in from ..terminal_interface.start_terminal_interface import start_terminal_interface File "C:\Python311\Lib\site-packages\interpreter\terminal_interface\start_terminal_interface.py", line 16, in from .validate_llm_settings import validate_llm_settings File "C:\Python311\Lib\site-packages\interpreter\terminal_interface\validate_llm_settings.py", line 5, in import litellm File "C:\Python311\Lib\site-packages\litellm_init_.py", line 6, in from litellm.proxy.types import KeyManagementSystem File "C:\Python311\Lib\site-packages\litellm\proxy_types.py", line 329, in class LiteLLM_BudgetTable(LiteLLMBase): File "C:\Python311\Lib\site-packages\pydantic_internal_model_construction.py", line 171, in new set_model_fields(cls, bases, config_wrapper, types_namespace) File "C:\Python311\Lib\site-packages\pydantic_internal_model_construction.py", line 361, in set_model_fields fields, class_vars = collect_model_fields(cls, bases, config_wrapper, types_namespace, typevars_map=typevars_map) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\pydantic_internal_fields.py", line 112, in collect_model_fields raise NameError(f'Field "{ann_name}" has conflict with protected namespace "{protected_namespace}"') NameError: Field "model_max_budget" has conflict with protected namespace "model"

Reproduce

  1. pip install open-interpreter
  2. interpreter

Expected behavior

I'm running this project for the first time and want to see the results.

Screenshots

No response

Open Interpreter version

Version: 0.2.0

Python version

Python 3.11.2

Operating System name and version

Windows 11

Additional context

No response

hb-0 avatar Mar 05 '24 14:03 hb-0

Thank you for reporting this and for helping build the classic Python version of Open Interpreter. This issue concerns the earlier Python/LiteLLM/Jupyter product; this repository now tracks the Rust Open Interpreter built on Codex. We are closing the legacy report here so current product tracking starts clean. If you still want to pursue it, the community-maintained classic fork is https://github.com/endolith/open-interpreter. If the same problem affects the current Interpreter release, please open a new issue with the current template and include the version, provider, model, wire API, harness, platform, and reproduction.

interpreterwork avatar Jul 28 '26 04:07 interpreterwork