You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/root/anaconda3/envs/ljm_glm4_conda/lib/python3.11/site-packages/langchain_core/messages/utils.py", line 301, in _convert_to_message
raise NotImplementedError(f"Unsupported message type: {type(message)}")
NotImplementedError: Unsupported message type: <class 'NoneType'>
Q:
If I use create_react_agent, always have some error, but it will work if I use ConversationalRetrievalChain in add_routes. How should I fix it if I want to use create_react_agent?
The text was updated successfully, but these errors were encountered:
@eyurtsev Thank you for your answer, I saw something about agent from the example, but most of them did not talk about create_retriever_tool and the create_react_agent of langgraph.prebuilt,
I still couldn't get an answer with the agent tool according to my code, I would appreciate it if you could give me more specific examples! TvT
Server test code as follows:
Client test code as follows:
Server error:
Q:
If I use
create_react_agent
, always have some error, but it will work if I useConversationalRetrievalChain
inadd_routes
. How should I fix it if I want to usecreate_react_agent
?The text was updated successfully, but these errors were encountered: