Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshuascottpaul opened this issue May 15, 2024 · 2 comments
Open

Comments

@joshuascottpaul
Copy link

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 joshuascottpaul changed the title ield "model_name" has conflict with protected namespace "model_". Field "model_name" has conflict with protected namespace "model_". May 15, 2024
@onigetoc
Copy link

onigetoc commented May 18, 2024

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
Copy link

vv-work commented May 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants