OpenInterpreter / open-interpreter

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

Bug when fresh install and new start #1185

Open quochung9999 opened 2 months ago

quochung9999 commented 2 months ago

Describe the bug

when i run it. this warning shown

interpreter

/opt/conda/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "modelid" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /opt/conda/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: 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/conda/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: 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

just start it when installed

Expected behavior

no warning show at all

Screenshots

interpreter_error

Open Interpreter version

2.0

Python version

3.117

Operating System name and version

docker linux ubuntu

Additional context

please fix it . thank you. i love interpreter

sormind commented 2 months ago

I have this exact same issue and have tried everything, i've tried uninstalling everything i've tried even changing the pydantic code myself and still same error or bug

CyanideByte commented 2 months ago

Running pip install --upgrade litellm will fix this issue.