-
I am trying to do the tutorials in langgraph and I am facing issue while trying to use Tavily as a tool. This is the code I am running.
This is the error message - 'AttributeError("'FieldInfo' object has no attribute 'raw_results'")' I have upgrades all my libraries and I even changed the API key for Tavliy. I am not sure what mistake I am making. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I believe you have an outdated version of langchain-core. Can you try updating langchain-core to the most recent version (0.3) and trying again This is caused as part of moving from pydantic 1 to pydantic 2 :/ |
Beta Was this translation helpful? Give feedback.
-
This could be due to outdated version of langchain core or some other libraries. I have installed /upgraded and it didn’t work. But when I restated the kernel in Jupyter it worked. I guess it could be as simple as that. |
Beta Was this translation helpful? Give feedback.
This could be due to outdated version of langchain core or some other libraries. I have installed /upgraded and it didn’t work. But when I restated the kernel in Jupyter it worked. I guess it could be as simple as that.