create_react_agent no run for ollama. Tool can not be call. #3041
Unanswered
DiamondLee12
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to build agents and firstly I tried examples
When I used AzureChatOpenAI(GPT4o), the agent can call tool to get the examples' result. However, when I used ollama, the tool could not be call and just got the json return. Is anyone has same problem?? Someone has any solution?
My code
When I used AzureChatOpenAI, I can get.
But When I used ollama(llama3.2, qwen2.5 etc. )
Beta Was this translation helpful? Give feedback.
All reactions