Expected Behavior

Image

Current Behavior

Image

Context

In my case, DeepSeek is used as a chat model. I am not sure what cause the different behavior when calling a function. Sometimes, it replys right as expected, otherwise unexpected in the content. Maybe it is bug in its old version.

So I need to override DeepSeekStreamFunctionCallingHelper

But I found there is no way I can achieve it.

refer to DeepSeekApi