-
-
Notifications
You must be signed in to change notification settings - Fork 949
Closed
Description
Hi,
I have an issue due to pydantic version:
$ sgpt "some question"
~/.local/share/pipx/venvs/shell-gpt/lib/python3.12/site-packages/pydantic/_internal/_config.py:411: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
warnings.warn(message, UserWarning)
"Some response"
```
if i force pydantic to a anterior version (pydantic <2 ) , sgpt doesn't work
So i commented line 357 in ~/.local/share/pipx/venvs/shell-gpt/lib/python3.12/site-packages/pydantic/_internal/_config.py
But i suppose a more elegant method exists.
Does anyone have any ideas why this happened.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels