rationalmatter / Juno-Issue-Tracker

Defect Tracker for Juno
79 stars 1 forks source link

Upgrade pydantic #431

Open bosseeric opened 4 weeks ago

bosseeric commented 4 weeks ago

pydantic 2.9 The current pinned pydantic 2.2.1 doesn’t have the class of “Discriminator” which is essential for langchain, which is an essential module for interacting with various of LLMs.

Error Msg: ” ImportError: cannot import name 'Discriminator' from 'pydantic' (/private/var/containers/Bundle/Application/AE4A4D9A-A217-4F5B-A681-EF33CCD44E56/Juno.app/pinned-packages/pydantic/init.py) ”

alexstaravoitau commented 3 weeks ago

Thanks for reporting @bosseeric—pydantic will be updated to latest when I get to upgrading the rest of the Python environment (don't have an ETA I'm afraid).