Problem with DeepSeek-R1 in AzureChatOpenAI not using tools #29582
Replies: 3 comments 7 replies
-
There are a few potential reasons why the
If these steps do not resolve the issue, you might want to explore similar discussions for additional insights. For instance, there is an open discussion titled Error with ZeroShotAgent using multi-input tool 'Calculator' in LangChain that might provide relevant information [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Problem solved. Deepseek r1 doesn't support tool calling right now . |
Beta Was this translation helpful? Give feedback.
-
Hello, I would like to ask whether this code can be output normally? What is the langchain version? Because I have encountered many difficulties in verifying langchain's use of inference model |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure if this is a Langchain or Langgraph issue, but I have the following Python script below
The output I am getting from the script above is as below:
As you can see from the output above,
ToolMessage
was not called. I have tried different system message to make it stronger for the LLM to use the tool and also asked a more complex math calculation, but for some reason the tool is still not being called.Does anyone know why or what went wrong with my script? Would really appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions