amosjyng / langchain-visualizer

Visualization and debugging tool for LangChain workflows
MIT License
718 stars 51 forks source link

Request: supporting Pydantic v2 #90

Open jamesbraza opened 7 months ago

jamesbraza commented 7 months ago

The request is, can langchain-visualizer support Pydantic v2? As of langchain-visualizer==0.0.33, Pydantic v2 is unsupported:

> poetry add langchain-visualizer
Using version ^0.0.33 for langchain-visualizer

...

Because langchain-visualizer (0.0.33) depends on pydantic (>=1.0.0,<2.0.0)
 and no versions of langchain-visualizer match >0.0.33,<0.0.34, langchain-visualizer (>=0.0.33,<0.0.34) requires pydantic (>=1.0.0,<2.0.0).
So, because myproject depends on both pydantic (>=2) and langchain-visualizer (^0.0.33), version solving failed.

https://github.com/amosjyng/langchain-visualizer/issues/76 is related

amosjyng commented 7 months ago

So long as https://github.com/oughtinc/ice/issues/319 is unresolved, I can't really do much about the matter