AttributeError: 'ChatCompletion' object has no attribute '__pydantic_serializer__' #922
Replies: 3 comments
-
hi @marcshepard thanks for passing this on, we'll take a look. also, we just updated the docs to remove the |
Beta Was this translation helpful? Give feedback.
-
That worked. Thanks! I was a bit surprised at dropping Tavily, since this course talked about them together; https://www.deeplearning.ai/short-courses/ai-agents-in-langgraph/. Is dropping Tavily from the tutorial a temporary thing, or is it being deprioritized as a tool? |
Beta Was this translation helpful? Give feedback.
-
I got the same error but it is not linked to Tavily, it is running Module 1 jupyter notebook: I keep getting the following error: No matter what model I used. I updated to the latest OpenAi and still get the same. |
Beta Was this translation helpful? Give feedback.
-
I tried running the tutorial in https://langchain-ai.github.io/langgraph/ and get the error message above, generated during the call to app.invoke(). I'm running Python 3.11 on windows 11.
Running in WSL gives a different error (ValidationError: 1 validation error for TavilySearchAPIWrapper, generated in the call to tools = [TavilySearchResults(max_results=1)]).
I'll try to debug later, but just wanted to pass this along in case you want to beef up the docs to handle this case to make this intro tutorials more prescriptive for newbies.
Beta Was this translation helpful? Give feedback.
All reactions