Open Billian-D opened 2 days ago
I am also facing the same issue, any update on it?
I am on an international trip, and do not have access to my main computer atm. I will be back in about 10 days. Try replacing it with from langchain_ollama import ChatOllama
instead and see if it works for you.
Bug Description:
I have been running the tutorial
langgraph_learning/tutorials/05-langgraph_state_management.py
and encountered an issue where theollama
function returns only the agent's response but does not invoke any associated tools, as expected. I have ensured that all required libraries and dependencies are properly installed, but this behavior persists.Here is the code snippet being used:
Logs/Error Messages:
Possible Cause: It seems like this error might be caused by version conflicts or a missing tool_calls attribute in the response from the OllamaFunctions agent.
Request: Could you please share the exact versions listed in your requirements.txt? I suspect that version conflicts could be causing this issue.