open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

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

Open joshuascottpaul opened this issue 1 year ago • 2 comments

Describe the bug

/opt/homebrew/lib/python3.9/site-packages/pydantic/_internal/fields.py:160: UserWarning: Field "model_name" 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 "model_info" 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

joshuascottpaul avatar May 15 '24 22:05 joshuascottpaul

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.

onigetoc avatar May 18 '24 04:05 onigetoc

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

vv-work avatar May 23 '24 09:05 vv-work