OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
50.58k stars 4.41k forks source link

Field "model_name" has conflict with protected namespace "model_". #1272

Open joshuascottpaul opened 1 month ago

joshuascottpaul commented 1 month ago

Describe the bug

/opt/homebrew/lib/python3.9/site-packages/pydantic/_internal/_fields.py:160: UserWarning: Field "modelname" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /opt/homebrew/lib/python3.9/site-packages/pydantic/_internal/_fields.py:160: UserWarning: Field "modelinfo" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn(

Reproduce

1 mac os 14.4 2 pip install open-interpreter 3 interpreter -y 4 get warnings

Expected behavior

5 expected behaviour no warnings

Screenshots

image

Open Interpreter version

0.2.5

Python version

python3.9 -V Python 3.9.19

Operating System name and version

mac 14.4

Additional context

No response

onigetoc commented 1 month ago

I'm not alone lol, me to i have this problem. But i am on Windows 10. open-interpreter: Version: 0.2.5 Python: 3.11.9 i though it may be i installed others llm softwares or scripts and it may be in confusion with other codes, software ect??? I have the exact same error from the fields.py file.

vv-work commented 1 month ago

The same I am on arch Linux using python 3.12.3 It looks like Open-Interpreter main module needs to be modefied