Traceback (most recent call last):
File "aider", line 8, in <module>
sys.exit(main())
^^^^^^
File "main.py", line 622, in main
main_model = models.Model(
^^^^^^^^^^^^^
File "models.py", line 769, in __init__
res = self.validate_environment()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "models.py", line 973, in validate_environment
res = litellm.validate_environment(model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "llm.py", line 23, in __getattr__
self._load_litellm()
File "llm.py", line 30, in _load_litellm
self._lazy_module = importlib.import_module("litellm")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "__init__.py", line 22, in <module>
from litellm.proxy._types import (
File "_types.py", line 10, in <module>
from pydantic import BaseModel, ConfigDict, Extra, Field, Json, model_validator
ImportError: cannot import name 'model_validator' from 'pydantic' (/home/twillis/projects/saas_box/.venv/lib/python3.12/site-packages/pydantic/__init__.cpython-312-x86_64-linux-gnu.so). Did you mean: 'root_validator'?
i must have stepped on pydantic at some point. the uninstall/install dance fixed it. I do appreciate the care to setup such seamless ticketing process though.
Aider version: 0.62.1 Python version: 3.12.4 Platform: Linux-6.8.0-48-generic-x86_64-with-glibc2.35 Python implementation: CPython Virtual environment: Yes OS: Linux 6.8.0-48-generic (64bit) Git version: git version 2.34.1
An uncaught exception occurred: